疯狂的狮子li
2022-02-14 2fbf9ab7be550f9272edf312a81837952d1b31f6
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({