摘要:
使用方法:1.在父组件中引入"toast.vue" //import toast from "./toast"; 2.在父组件中注册 toast //components:{toast}, 3.放在父组件中使用//<toast ref="toast"></toast> 4.调用toast组件//th 阅读全文
摘要:
使用方法: 1.在父组件中引入"box.vue" //import popUpBox from "./box.vue"; 2.在父组件中注册 popUpBox //components:{popUpBox}, 3.放在父组件中使用 //<popUpBox></popUpBox> 4.调用popUpB 阅读全文