VUE vue Expected Object, Function, got String with value “xxx;
生活随笔
收集整理的這篇文章主要介紹了
VUE vue Expected Object, Function, got String with value “xxx;
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
?錯(cuò)誤代碼如下:
<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'}">關(guān)鍵代碼:
:labelStyle="{width:'10%',color:'#10100f'}"
引用來源:
Vue -- 解決報(bào)錯(cuò):Expected Object, Function, got String with value “padding:8px 0px 8px 0px;“_仁王_雅治的博客-CSDN博客報(bào)錯(cuò):Invalid prop: type check failed for prop "cellStyle". Expected Object, Function, got String with value "padding:8px 0px 8px 0px;".報(bào)錯(cuò)寫法:<el-table :data="infoTableData" cell-style="padding:8px 0px 8px 0px;" ref="infoTableData" border highlight-currhttps://blog.csdn.net/weixin_38645718/article/details/121668972
總結(jié)
以上是生活随笔為你收集整理的VUE vue Expected Object, Function, got String with value “xxx;的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 关于php上传多张图片时,选择图片后就可
- 下一篇: Vue实现动态路由导航