JavaShuo
栏目
标签
vue报错”Invalid prop: type check failed for prop "data". Expected Array, got String.“
时间 2021-07-11
标签
前端
vue
vue.js
debug
栏目
JavaScript
繁體版
原文
原文链接
vue项目中遇到的报错如下图: 大概意思就是期望的data值是数组,但是得到的是字符串,在页面上并不影响功能的实现,是因为data在赋值的时候虽然格式不对,但是得到的数据格式是正确的,所以不会影响页面功能 点开报错,浏览信息 找到你的文件,还有文件里的方法,以及所在行,就在相关方法中找到data的数据赋值,改过来就行了
>>阅读原文<<
相关文章
1.
[Vue warn]:Invalid prop: type check failed for prop “data“.Expected Array,got Object
2.
[Vue warn]: Invalid prop: type check failed for prop "data". Expected Array, got Object.
3.
[Vue warn]: Invalid prop: type check failed for prop “clearable“. Expected Boolean, got String with错
4.
[VUE ERROR] Invalid prop: type check failed for prop "list". Expected Array, got Undefined
5.
[Vue warn]: Invalid prop: type check failed for prop "disabled". Expected Boolean, got String.
6.
[Vue warn]: Invalid prop: type check failed for prop "image". Expected String, got Null.
7.
[Vue warn]: Invalid prop: type check failed for prop “unlinkPanels“. Expected Boolean, got String...
8.
vue报错:Invalid prop: type check failed for prop "total". Expected Number with value 0, got String wit
9.
vue 报错Invalid prop: type check failed for prop "span". Expected Number,
10.
vue报错:[Vue warn]: Invalid prop: type check failed for prop "value". Expected Number, go...
更多相关文章...
•
SQL CHECK 约束
-
SQL 教程
•
C# 数组(Array)
-
C#教程
•
C# 中 foreach 遍历的用法
•
Kotlin学习(二)基本类型
相关标签/搜索
prop
check
got
expected
invalid
failed
array+array
array
type
错报
JavaScript
MyBatis教程
PHP 7 新特性
Thymeleaf 教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
融合阿里云,牛客助您找到心仪好工作
2.
解决jdbc(jdbctemplate)在测试类时不报错在TomCatb部署后报错
3.
解决PyCharm GoLand IntelliJ 等 JetBrains 系列 IDE无法输入中文
4.
vue+ant design中关于图片请求不显示的问题。
5.
insufficient memory && Native memory allocation (malloc) failed
6.
解决IDEA用Maven创建的Web工程不能创建Java Class文件的问题
7.
[已解决] Error: Cannot download ‘https://start.spring.io/starter.zip?
8.
在idea让java文件夹正常使用
9.
Eclipse启动提示“subversive connector discovery”
10.
帅某-技巧-快速转帖博主文章(article_content)
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
[Vue warn]:Invalid prop: type check failed for prop “data“.Expected Array,got Object
2.
[Vue warn]: Invalid prop: type check failed for prop "data". Expected Array, got Object.
3.
[Vue warn]: Invalid prop: type check failed for prop “clearable“. Expected Boolean, got String with错
4.
[VUE ERROR] Invalid prop: type check failed for prop "list". Expected Array, got Undefined
5.
[Vue warn]: Invalid prop: type check failed for prop "disabled". Expected Boolean, got String.
6.
[Vue warn]: Invalid prop: type check failed for prop "image". Expected String, got Null.
7.
[Vue warn]: Invalid prop: type check failed for prop “unlinkPanels“. Expected Boolean, got String...
8.
vue报错:Invalid prop: type check failed for prop "total". Expected Number with value 0, got String wit
9.
vue 报错Invalid prop: type check failed for prop "span". Expected Number,
10.
vue报错:[Vue warn]: Invalid prop: type check failed for prop "value". Expected Number, go...
>>更多相关文章<<