ElementUi中messageBox的使用

1 引入messageBox 插件 import {MessageBox} from ‘element-ui’ == 不同於一般插件在使用Vue.use()方法 == 2 在vue 的原型對象上掛載confirm Vue.prototype.$confirm = MessageBox.confirm
相關文章
相關標籤/搜索