Browse Source

初始化 帶入偏好設定給定空陣列

Louise lin 2 years ago
parent
commit
b3a006d79a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      HiTeachCC/ClientApp/src/views/Board.vue

+ 1 - 1
HiTeachCC/ClientApp/src/views/Board.vue

@@ -6942,7 +6942,7 @@ export default {
     if (sessionStorage.getItem("currentAnsOption")) this.setAnsOption(sessionStorage.getItem("currentAnsOption"));
     else this.setAnsOption(this.getPREFMCQType);
      //帶入自訂名單偏好設定
-    this.customMemberlist=this.getPREFMemberList
+    this.customMemberlist=this.getPREFMemberList?this.getPREFMemberList:[]
 
     this.getStorageSize("session");