摘要: 组件注册使用:先在js导入组件,然后注册就可以使用标签了,使用组件不能用大写要用-符合隔开 import testItem from './test'; export default { components: { testItem } } // 使用<test-item></test-item> 阅读全文
posted @ 2020-04-20 09:02 对·味 阅读(157) 评论(0) 推荐(0) 编辑