liujie
昨天 c983a0a398504697a777ffae48e59961b5ee2bd7
hugray-admin/src/plugins/modal.js
@@ -52,11 +52,14 @@
    ElNotification.warning(content)
  },
  // 确认窗体
  confirm(content) {
    return ElMessageBox.confirm(content, "系统提示", {
  // title 与 options 可选:不传时沿用「系统提示 / 确定 / 取消」,既有调用不受影响;
  // 需要按原型改标题或按钮文案时由调用方显式传入。
  confirm(content, title, options) {
    return ElMessageBox.confirm(content, title || "系统提示", {
      confirmButtonText: '确定',
      cancelButtonText: '取消',
      type: "warning",
      ...options
    })
  },
  // 提交内容