From ca5b08a5e03142c4318c7d2bb27b3bc5e98f734e Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 24 一月 2024 17:21:13 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- 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