摘要: 实现的toast组件可以通过this.$toast()调用 需要的知识: vue.extend(); new Vue().$mount(); //如果mount内没有要挂载的元素vue只会渲染元素而不会加载的界面上 toast.vue的内容 <!--template的内容--> <template> 阅读全文
posted @ 2019-04-25 12:04 _zhiqiu 阅读(4096) 评论(0) 推荐(0) 编辑