admin管理员组

文章数量:1794759

VUE vue Expected Object, Function, got String with value “xxx;

VUE vue Expected Object, Function, got String with value “xxx;

 错误代码如下:


<el-descriptions class="margin-top" :column="1" border labelStyle="{width:'10%',color:'#10100f'}"><el-descriptions class="margin-top" :column="1" border :labelStyle="width:'10%',color:'#10100f'">

正确示例如下:

<el-descriptions class="margin-top" :column="1" border :labelStyle="{width:'10%',color:'#10100f'}">

关键代码:

:labelStyle="{width:'10%',color:'#10100f'}"

引用来源:

Vue -- 解决报错:Expected Object, Function, got String with value “padding:8px 0px 8px 0px;“_仁王_雅治的博客-CSDN博客报错:Invalid prop: type check failed for prop "cellStyle". Expected Object, Function, got String with value "padding:8px 0px 8px 0px;".报错写法:<el-table :data="infoTableData" cell-style="padding:8px 0px 8px 0px;" ref="infoTableData" border highlight-curr

本文标签: VUE vue Expected Objectfunctiongot String with value “xxx