Selaa lähdekoodia

修改切换下周工作内容切换显示内容bug

humingbo 2 vuotta sitten
vanhempi
commit
2526f4dd9c
1 muutettua tiedostoa jossa 9 lisäystä ja 0 poistoa
  1. 9 0
      src/views/meeting/weekly.vue

+ 9 - 0
src/views/meeting/weekly.vue

@@ -167,6 +167,15 @@ export default {
         this.getSpanArr(this.workContents);
         if (response.data.workPlan != null && response.data.workPlan.length > 0) {
           this.workPlans = response.data.workPlan
+        }else{
+          this.workPlans=[{
+            planContent: '请填写工作计划信息',
+            id: null,
+            meetingId: null,
+            completionTimes: null,
+            completionTime: null,
+            projectId: null
+          }]
         }
         this.weeks = response.data.weeks
         const date = new Date();