刘洋 před 1 rokem
rodič
revize
b50641230d
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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: {