From f848280fe3ed8841147fcc8f26a788580b82ae0c Mon Sep 17 00:00:00 2001 From: liudong <liudong> Date: 星期六, 17 八月 2024 10:37:46 +0800 Subject: [PATCH] 首页页面bug修改 --- src/views/authority/users/index.vue | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/views/authority/users/index.vue b/src/views/authority/users/index.vue index 13f4565..252759b 100644 --- a/src/views/authority/users/index.vue +++ b/src/views/authority/users/index.vue @@ -217,7 +217,9 @@ v-model:visible="resourcevisible" v-if="resourcevisible" title="鐢ㄦ埛鎵�鏈夋潈闄�" - @cancel="handleCancel(3)" + okText="鍏抽棴" + hide-Cancel="true" + @ok="handleCancel(3)" > <div :style="{ 'display': 'flex', 'flex-direction': 'column' }"> <a-card @@ -532,6 +534,7 @@ checkStrictlyMenu.value = []; checkStrictlyKnowledge.value = []; checkStrictlyDialog.value = []; + checkStrictlyAgent.value = []; selectUser.value = record; let agents; @@ -578,12 +581,7 @@ }); }); } - let dialogs; - if (record.dialogs) { - dialogs = record.dialogs; - } else { - dialogs = record.roles ? record.roles[0].dialogs : null; - } + let dialogs = record.roles ? record.roles[0].dialogs : null; if (dialogs) { dialogs.forEach((val) => { checkStrictlyDialog.value.push({ -- Gitblit v1.8.0