| 
					阅读:5352回复:0
				 详解Vue内部怎样处理props选项的多种写法
					开发过程中,props 的使用有两种写法: // 字符串数组写法const subComponent = { props: ['name']} // 对象写法 const subComponent = { props: { name: { type: String, default: 'Kobe Bryant' } } } https://www.jb51.net/article/150255.htm | |
 
							
 
				