zbk
2022-06-26 2ae41df23b73cdfbb2f8c32b1ef019ed6a06ea27
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({