Vue——函数式调用组件

正常情况下使用组件   import 组件 import xxx from 'XXXx/XXX.vue' 注册组件 export default { components:{ XXX }, } 然后再使用组件以及配置,如果要显示这个组件就要改别isShow的值 <template> <div> <xxx :show="isShow" text="
相关文章
相关标签/搜索