优化提示信息

This commit is contained in:
RuoYi
2021-12-02 10:44:15 +08:00
parent b1bc3ceb27
commit 82779f3c70
12 changed files with 17 additions and 39 deletions

View File

@@ -59,6 +59,14 @@ export default {
type: "warning",
})
},
// 提交内容
prompt(content) {
return MessageBox.prompt(content, "系统提示", {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: "warning",
})
},
// 打开遮罩层
loading(content) {
loadingInstance = Loading.service({