vue.runtime.esm.js:620 [Vue warn]: Error in nextTick: “TypeError: Cannot convert object to primitive
问题: vue.runtime.esm.js:620 [Vue warn]: Error in nextTick: “TypeError: Cannot convert object to primitive value”
直接把数据来源变量的值赋值给页面变量,正常展示
this.columns= [{prop: "num", label: "序号"}]
直接把数据来源变量赋值给页面变量,报错
this.columns= resp.headerList
对比两次赋值
尝试处理数据,之后解决了
this.columns = JSON.parse(JSON.stringify(resp.headerList)) || [];
总结:引起报错的原因可能是数据的属性中缺少[[Prototype]]
vue.runtime.esm.js:620 [Vue warn]: Error in nextTick: “TypeError: Cannot convert object to primitive相关推荐
- VUE项目报错:[Vue warn]: Error in render: “TypeError: Cannot convert object to primitive value“
1.问题描述: 我之前做的一个项目,PM联系我说,在某角色下没问题,在另外一个角色下展示出现问题.我得知此消息后,我先回复了一下对方后,啪的一下就打开了vs code,然后把项目跑起来,我迫不及待的想 ...
- vue.runtime.esm.js:619 [Vue warn]: Duplicate keys detected: ‘/carsend‘. This may cause an update err
背景: 在运行一个Vue项目时,出现了如下报错信息 vue.runtime.esm.js:619 [Vue warn]: Duplicate keys detected: '/carsend'. Th ...
- 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 ...
- 解决vue vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in nextTick: “TypeError: Cannot convert undefine
报错 这是因为 数据还没到先显示了,图标是表单的时候 Vue warn]: Invalid prop: type check failed for prop "end". Expe ...
- vue.runtime.esm.js:619 [Vue warn]: Property or method “test“ is not defined on the instance but refe
背景: 解决办法: 根据错误信息,发现是属性或方法"test"未在实例上定义,但在呈现过程中被引用.根据这条线索,可以打开lamp-list.vue文件,局部搜索该 test 关键 ...
- vue.runtime.esm.js:619 [Vue warn]: Property or method “XXX“ is not defined on the instance but refe
需要引入到主仓库:
- vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in nextTick: “TypeError: Cannot read properties of und
vue使用vue-element-admin报错: vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in nextTick: "TypeError ...
- vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in created hook: “TypeError: Object(...) is not a func
前几天一个月薪35k的兄弟,给我推了一个人工智能学习网站,看了一段时间挺有意思的.包括语音识别.机器翻译等从基础到实战都有,很详细,分享给大家. 从后端拿取数据渲染到表格数据.结果明明写的没错,但是却 ...
- 报错vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in render: “TypeError: Cannot read property ‘length‘
在用 element-ui 做表单复选框的时候,出现报错 vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in render: "TypeErro ...
最新文章
- 获取JSON格式的树形
- PHP的函数-----生成随机数、日期时间函数
- spring和mybatis整合进行事务管理
- ALV字段编辑时,输入长度受限制解决方法
- 怎样快速学会python_零基础怎样才能系统快速的学会Python?
- CLR 完全介绍-反射之反思
- 使用字符串切割,使手机号中间四位隐藏
- Hyper-V Windows 8.1 Windows Server 2012 R2 QA
- 医院信息管理系统需求分析
- Charles安装SSL证书失败问题
- 计算机如何添加新用户,Win10创建新用户图文教程 Win10怎么新建账户
- 腾讯音乐娱乐数据分析4.15笔试
- 动态规划---多边形游戏
- 短线高手怎样于市场形态中基于头肩顶实现追涨
- 【笔记】linux下查看文件夹大小
- 半小时学会微信公众平台开发(完整版教程)
- NCR(Numeric Character Reference)简单介绍
- Introduction to TitanEngine
- Linux系统中svn服务器设置开机启动
- 力学笃行系列之Spring和JDK设计中用到的设计模式
热门文章
- 蓝牙耳机主动降噪的基础知识介绍
- 数据分析达人博客大全
- “超女民-主”?“画饼充饥”!
- 4.10nbsp;经济周期和经济危机
- 用 Python 给女友做了个可能会被打死的七夕礼物 !
- SDL开发笔记(三):使用SDL渲染窗口颜色和图片
- 2.利用tensorflow框架对服装进行分类
- illustrator字体设计教程 刘兵克Illustratorai字体设计日记
- 解决:idea中tomcat项目改名后,原名项目启动后是新名项目的内容
- php命令执行后门,php后门木马常用命令