From 3afcc2a5c713eb6cc59d5b01d305b2da32ad267d Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 24 一月 2024 16:54:38 +0800 Subject: [PATCH] 分类授权 数据授权bug修复 --- Source/UBCS-WEB/src/components/Theme/DataAuthDialog.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Theme/DataAuthDialog.vue b/Source/UBCS-WEB/src/components/Theme/DataAuthDialog.vue index 334cab8..69e0326 100644 --- a/Source/UBCS-WEB/src/components/Theme/DataAuthDialog.vue +++ b/Source/UBCS-WEB/src/components/Theme/DataAuthDialog.vue @@ -180,7 +180,7 @@ Vue.set(item, data, true); }); this.classifyAuthData.push(item); - this.addIndex = this.classifyAuthData.length - 1; //娣诲姞琛屼笅鏍囩瓑浜巆lassifyAuthData鐨勯暱搴�-1 + this.addIndex = this.classifyAuthData.length - 1; //娣诲姞琛屼笅鏍囩瓑浜巆lassifyAuthData鐨勯暱搴�-1 this.roleHandlerMethods(authData.roleId, 'create', index) }) } @@ -228,7 +228,7 @@ }); //娣诲姞鈥樻煡鐪嬧�欑鐢� - if (this.classifyAuthData.authButton) { + if (this.classifyAuthData) { this.classifyAuthData.forEach((classkey, classIndex) => { if (classkey.authButton.classify_view) { this.$set(this.classifyAuthData[classIndex].authButton,"allDisabled",true); -- Gitblit v1.9.3