From e4267c5c5605704ca8eae2dfc55efdb475f2ec1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Tue, 10 May 2022 23:45:33 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=20=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E7=82=B9=E5=87=BB=E9=81=AE=E7=BD=A9=E5=B1=82=20?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E4=B8=8D=E5=85=B3=E9=97=AD=20=E5=8F=AF?= =?UTF-8?q?=E5=9C=A8=20main.js=20=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ruoyi-ui/src/main.js b/ruoyi-ui/src/main.js index 1e0144f4..caf30d74 100644 --- a/ruoyi-ui/src/main.js +++ b/ruoyi-ui/src/main.js @@ -73,6 +73,9 @@ DictData.install() * please remove it before going online! ! ! */ +// 修改 el-dialog 默认点击遮照为不关闭 +Element.Dialog.props.closeOnClickModal.default = false + Vue.use(Element, { size: Cookies.get('size') || 'medium' // set element-ui default size })