From e5559b1199cf64a12fbd5f7d2a108df81dc60f22 Mon Sep 17 00:00:00 2001 From: Zheng Jie <201507802@qq.com> Date: Thu, 30 Dec 2021 16:54:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=BC=96=E8=BE=91=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=A6=81=E6=AD=A2=E8=BE=93=E5=85=A5=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/user/index.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 92efc12..9017069 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -63,13 +63,13 @@ - + - + @@ -274,6 +274,12 @@ export default { } }, methods: { + // 禁止输入空格 + keydown(e) { + if (e.keyCode === 32) { + e.returnValue = false + } + }, changeRole(value) { userRoles = [] value.forEach(function(data, index) {