刘洋 1 year ago
parent
commit
b50641230d
1 changed files with 2 additions and 2 deletions
  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.timeRange = [];
         this.form.properties.GEN_PAPER_QUESTION_COUNT = "";
         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 = {
       let params = {
         orgId: this.form.orgId,
         orgId: this.form.orgId,
         properties: {
         properties: {