ソースを参照

bug3172:深拷贝的问题

cxmo 1 年間 前
コミット
42b331b7dc
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/views/custom_manage/customList/customListEn.vue

+ 1 - 1
src/views/custom_manage/customList/customListEn.vue

@@ -281,7 +281,7 @@ import reportVarietyEnSet from '@/components/reportVarietyEnSet.vue'
       },
       handleShowSetVariety(item){
         this.activeItem=item
-        this.checkedVariety=item.EnPermissions||[]
+        this.checkedVariety=_.cloneDeep(item.EnPermissions||[]) 
         this.showSetVariety=true
       },
       handleChangeVariety(){