您的位置: 首页 > 文章 > ElementUi中messageBox的使用 ElementUi中messageBox的使用 分类: 文章 • 2022-10-05 10:11:12 1 引入messageBox 插件 import {MessageBox} from ‘element-ui’ == 不同于一般插件在使用Vue.use()方法 == 2 在vue 的原型对象上挂载confirm Vue.prototype.$confirm = MessageBox.confirm