报错信息

vue.esm.js?efeb:571 [Vue warn]: Property or method “subItem” 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

解决方案

原来是把v-for写成了v-if,改过来就行了。

vue.esm.js?efeb:571 [Vue warn]: Property or method subItem is not defined on the instance but refe相关推荐

  1. vue.runtime.esm.js:619 [Vue warn]: Property or method “test“ is not defined on the instance but refe

    背景: 解决办法: 根据错误信息,发现是属性或方法"test"未在实例上定义,但在呈现过程中被引用.根据这条线索,可以打开lamp-list.vue文件,局部搜索该 test 关键 ...

  2. vue.runtime.esm.js:619 [Vue warn]: Property or method “XXX“ is not defined on the instance but refe

    需要引入到主仓库:

  3. vue错误:vue.esm.js?efeb:628 [Vue warn]: Error in render: “TypeError: Cannot read property ‘matched‘ of

    控制台出现这个错误vue.esm.js?efeb:628 [Vue warn]: Error in render: "TypeError: Cannot read property 'mat ...

  4. 解决:vue.esm.js?efeb:591 [Vue warn]: Do not use built-in or reserved HTML elements as component id: me

    前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 1. 报错如题: vue.esm.js?efeb:591 [Vue warn]: Do not us ...

  5. vue.esm.js?efeb:628 [Vue warn]: Error in mounted hook: “Error: target is not existed: .page-componen

    vue.esm.js?efeb:628 [Vue warn]: Error in mounted hook: "Error: target is not existed: .page-com ...

  6. vue.runtime.esm.js:4560 [Vue warn]: Property or method “item“ is not defined on the instance but

    报错异常 vue.runtime.esm.js:4560 [Vue warn]: Property or method "item" is not defined on the i ...

  7. [Vue warn]: Property or method “throttle“ is not defined on the instance but referenced during rende

    在开发的过程中,用到了节流,引入公共的节流,初始调用如下(报错了-). template中: <button class="btn" @click="throttl ...

  8. [Vue warn]: Property or method index is not defined on the instance but referenced during render

    8月份开始团队使用 React,所以 Vue 很久没接触了,今天同事问我一个问题,发出来记录下 问题重现 一个输入键盘,keyUpHandle 为该触发事件函数,绑定 $event 和 index,在 ...

  9. 解决vue.esm.js?efeb:628 [Vue warn]: Failed to mount component: template or render function not defined

    问题描述 原因 在文件中 有相同名称的 .vue 和.js文件在同一级中 在 router.js中 引入文件时 没有注明 是引入.vue 导致编辑器以为引入的是.js文件 则报错 解决

最新文章

  1. 在Service中通过WindowManger添加View的方式来把UI界面显示出来
  2. UVA227 Puzzle
  3. BUAA_OO第三单元作业总结——JML
  4. div上下展开收缩 html,js实现div层缓慢收缩与展开的方法
  5. Linux安装中文总是提示失败,AnyBackup-Linux 客户端安装失败,提示错误信息:Self IP Address is invalid...
  6. 【Python】Python库之文本处理
  7. 1个报表工具,5大体系,60种可视化图表,靠这些打动领导就够了
  8. scala 基础类库 —— 文件操作
  9. 计算机答辩ppt演讲稿,毕业答辩PPT演讲稿范文ppt课件
  10. 10秒钟的Cat 6A网线认证仪_DSX2-5000 CH
  11. xml文件编辑器----foxe_CHS
  12. 垂杨柳中学2021年高考成绩查询时间,2021年北京中考各学校分数线,历年北京中考分数线...
  13. 深度强化学习-策略梯度算法推导
  14. 未来,你会反感虚拟现实沉浸式广告吗?
  15. 雷电3接口 显卡 linux,炫龙 耀7000有雷电3接口么?
  16. linux驱动K10运算卡,NVIDIA TESLA K10 GPU 运算卡 K20 C2075 C2050
  17. linux关闭触摸板
  18. 反应动力学参数拟合与停留时间分布函数——基于Python实现
  19. 老调重弹:JDBC系列之驱动加载原理全面解析)
  20. 地震灾后36天!!成都彭州市龙门山镇团山村的一头肥猪废墟存活36天续:获名朱坚强将在博物馆终老

热门文章

  1. 并发产生mysql锁表_Yii+MYSQL锁表防止并发情况下重复数据的方法
  2. html5公共样式css,css常用公共样式
  3. 第三天:让简历有点色彩
  4. html table-cell用法,CSS中的table-cell属性使用实例教程
  5. Android Studio 下载第三方库失败
  6. vba移动文件_利用NAME语句,给文件重命名
  7. 电子科技大学计算机读博好毕业,成电学子读博一年达毕业要求:写论文不无聊 别把挂科当潮流...
  8. 《Adobe Audition CC经典教程》——导读
  9. 线上实验6进制加法计数器
  10. Elasticsearch的CRUD最简单的操作