From 34e2fa8cdb113492db2fde752d8d94804c84a113 Mon Sep 17 00:00:00 2001 From: Double-_-Z <2492419643@qq.com> Date: Mon, 18 Aug 2025 10:55:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A3=9E=E8=A1=8C=E5=91=98=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/pilot/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/system/pilot/index.vue b/src/views/system/pilot/index.vue index 0c9438a..c589d41 100644 --- a/src/views/system/pilot/index.vue +++ b/src/views/system/pilot/index.vue @@ -330,9 +330,9 @@ }, // 提交前做的操作 [CRUD.HOOK.afterValidateCU](crud) { - const rolesIds = this.roles.find(item=>item.name === '飞行员').id; + // const rolesIds = this.roles.find(item=>item.name === '飞行员').id; crud.form.userType = 1; - crud.form.roles = [{id:rolesIds}]; + // crud.form.roles = [{id:rolesIds}]; return true; }, // 获取全部区域