老师求教 SupportIco 浏览器报错。
来源:3-1 目录结构 & header 组件

小吉贝尔
2019-06-23
老师您好,我用的vue是3.8版本。我的SupportIco调用图标都显示不出来。浏览器报错。
[HMR] Waiting for update signal from WDS…
vue.runtime.esm.js?2b0e:619 [Vue warn]: Property or method “iconCls” is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
found in
—> at src/components/support-ico/support-ico.vue
at src/components/v-header/v-header.vue
at src/App.vue
请问这是怎么回事。
写回答
1回答
-
ustbhuangyi
2019-06-23
报错已经说的很明白了,你的 support-ico.vue 中没有定义 iconCls
012019-06-23
相似问题