yl-showmodal
v1.0.0
Published
1. 在main.js引入挂载<pre> import showModal from './components/yiling-showModal/showModal.vue' import {emitMsg} from './components/yiling-showModal/showModal.js'
Downloads
2
Readme
说明:此组件封装了uni的showModal消息弹框,和退出小程序功能;
使用:
在main.js引入挂载 import showModal from './components/yiling-showModal/showModal.vue' import {emitMsg} from './components/yiling-showModal/showModal.js'
Vue.component('showModal',showModal) Vue.prototype.$showModal = emitMsg