From c110e665d6fb7ef95a7d657788b71c83b6bdfdb6 Mon Sep 17 00:00:00 2001 From: 13181781697 <14369705+gaiya001@user.noreply.gitee.com> Date: Sat, 18 May 2024 17:44:37 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=89=8D=E7=AB=AF=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E5=85=A8=E5=B1=80=E7=A6=81=E6=AD=A2=E5=86=92=E6=B3=A1=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E7=94=B5=E5=AD=90=E7=A8=8E=E5=8A=A1=E5=B1=80?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81=E8=8E=B7=E5=8F=96=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=BA120=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jianshui-ui/src/main.js | 2 ++ .../src/views/freedom/taxBureauLogin/index.vue | 11 +++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/jianshui-ui/src/main.js b/jianshui-ui/src/main.js index 0fa21a0..597186f 100644 --- a/jianshui-ui/src/main.js +++ b/jianshui-ui/src/main.js @@ -35,6 +35,8 @@ import DictTag from '@/components/DictTag' import VueMeta from 'vue-meta' // 字典数据组件 import DictData from '@/components/DictData' +//全局修改默认配置,点击空白处不能关闭弹窗 +Element.Dialog.props.closeOnClickModal.default = false // 全局方法挂载 Vue.prototype.getDicts = getDicts diff --git a/jianshui-ui/src/views/freedom/taxBureauLogin/index.vue b/jianshui-ui/src/views/freedom/taxBureauLogin/index.vue index dd19aaa..362b607 100644 --- a/jianshui-ui/src/views/freedom/taxBureauLogin/index.vue +++ b/jianshui-ui/src/views/freedom/taxBureauLogin/index.vue @@ -45,6 +45,7 @@ class="dialog" title="短信登录" :visible.sync="dialogVisible" + :close-on-click-modal="false" width="550px" >