From c5932c0af5fb20a03c865c5f14b55724ce5cc379 Mon Sep 17 00:00:00 2001 From: pixel <303176530@qq.com> Date: Fri, 20 Mar 2020 10:54:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=89=8D=E7=AB=AFform?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- QMPlusVuePage/src/main.js | 2 + QMPlusVuePage/src/view/superAdmin/api/api.vue | 174 ++++++++++-------- .../view/superAdmin/authority/authority.vue | 100 ++++++---- .../src/view/superAdmin/menu/menu.vue | 102 +++++----- .../src/view/superAdmin/user/user.vue | 40 ++-- 5 files changed, 241 insertions(+), 177 deletions(-) diff --git a/QMPlusVuePage/src/main.js b/QMPlusVuePage/src/main.js index 864d7e39..7d9129c4 100644 --- a/QMPlusVuePage/src/main.js +++ b/QMPlusVuePage/src/main.js @@ -3,6 +3,8 @@ import App from './App.vue' // 引入element import ElementUI from 'element-ui'; import 'element-ui/lib/theme-chalk/index.css'; +// 全局配置elementui的dialog不能通过点击遮罩层关闭 +ElementUI.Dialog.props.closeOnClickModal.default = false Vue.use(ElementUI); // 引入封装的router import router from '@/router/index' diff --git a/QMPlusVuePage/src/view/superAdmin/api/api.vue b/QMPlusVuePage/src/view/superAdmin/api/api.vue index 42562a90..e2829ef4 100644 --- a/QMPlusVuePage/src/view/superAdmin/api/api.vue +++ b/QMPlusVuePage/src/view/superAdmin/api/api.vue @@ -25,15 +25,14 @@ - {{scope.row.method|methodFiletr}} - + effect="dark" + size="mini" + >{{scope.row.method|methodFiletr}} - +