Ver Fonte

bug fix

刘洋 há 1 ano atrás
pai
commit
b50641230d
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/modules/questions/views/OrgProperty.vue

+ 2 - 2
src/modules/questions/views/OrgProperty.vue

@@ -550,8 +550,8 @@ export default {
         this.timeRange = [];
         this.form.properties.GEN_PAPER_QUESTION_COUNT = "";
       }
-      let GEN_PAPER_QUESTION_START = this.timeRange[0] || "";
-      let GEN_PAPER_QUESTION_END = this.timeRange[1] || "";
+      let GEN_PAPER_QUESTION_START = this.timeRange?.[0] || "";
+      let GEN_PAPER_QUESTION_END = this.timeRange?.[1] || "";
       let params = {
         orgId: this.form.orgId,
         properties: {