Explorar o código

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

humingbo %!s(int64=2) %!d(string=hai) anos
pai
achega
2526f4dd9c
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  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();