RuoYi
2023-06-29 1c9c076280db6eb95e7db2725d08ac5fc0d3fef3
ruoyi-ui/src/plugins/modal.js
@@ -59,6 +59,14 @@
      type: "warning",
    })
  },
  // 提交内容
  prompt(content) {
    return MessageBox.prompt(content, "系统提示", {
      confirmButtonText: '确定',
      cancelButtonText: '取消',
      type: "warning",
    })
  },
  // 打开遮罩层
  loading(content) {
    loadingInstance = Loading.service({