From 561edcc9ea74925e33b7a3af2c1ffc83edcd39ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Fri, 7 Jan 2022 18:06:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=90=AF=E7=94=A8=E8=A7=92?= =?UTF-8?q?=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/config/pages/roleManage/index.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pages/config/pages/roleManage/index.vue b/src/pages/config/pages/roleManage/index.vue index 914b5f030..9d5cde35c 100644 --- a/src/pages/config/pages/roleManage/index.vue +++ b/src/pages/config/pages/roleManage/index.vue @@ -393,6 +393,11 @@ export default { AddRoleOk() { // 新增角色确定 this.$refs['addForm'].validate((valid) => { if (valid) { + if(this.addForm.useFlag === '启用'){ + this.addForm.useFlag = '1' + }else { + this.addForm.useFlag = '0' + } if (this.type === 1) { // 新增 this.$http.postData('sarRole/role', this.addForm, {}, res => { if (res.ok) {