优化代码

This commit is contained in:
RuoYi
2021-11-30 11:15:17 +08:00
parent bf4ac3ad7a
commit a2d3f987c0
8 changed files with 27 additions and 9 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({