摘要:
字符串的创建 1.new String() let stringObj = new String("123") console.log(stringObj) // object 这个是字符串对象,尽量不要这么做!!!! 2.创建基本的字符串值 let stringStr = "123" consol 阅读全文
摘要:
问题 报错 props: { showcontent: { type: Array, default: [] }, } 报错信息 [Vue warn]: Invalid default value for prop "showcontent": Props with type Object/Arra 阅读全文