参见:https://www.cnblogs.com/cxxb/p/11989637.html
messagebox 分为alert和confirm alert没有取消
引入messagebox 如下命名就可以了
// MessageBox分为alert和confirm,alert没有删除按钮
Vue.prototype.$confirm = MessageBox.confirm;
这篇博客介绍了Vue.js中如何引入并使用 MessageBox 的 alert 和 confirm 方法。作者指出,alert 没有取消选项,而confirm则包含确认和取消按钮。通过 Vue.prototype.$confirm = MessageBox.confirm,可以在Vue应用中方便地调用确认对话框。
参见:https://www.cnblogs.com/cxxb/p/11989637.html
messagebox 分为alert和confirm alert没有取消
引入messagebox 如下命名就可以了
// MessageBox分为alert和confirm,alert没有删除按钮
Vue.prototype.$confirm = MessageBox.confirm;
7685
1万+
4717

被折叠的 条评论
为什么被折叠?