摘要: 字符串的创建 1.new String() let stringObj = new String("123") console.log(stringObj) // object 这个是字符串对象,尽量不要这么做!!!! 2.创建基本的字符串值 let stringStr = "123" consol 阅读全文
posted @ 2020-10-20 19:32 易函123 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 问题 报错 props: { showcontent: { type: Array, default: [] }, } 报错信息 [Vue warn]: Invalid default value for prop "showcontent": Props with type Object/Arra 阅读全文
posted @ 2020-10-20 19:29 易函123 阅读(2833) 评论(0) 推荐(0) 编辑