Explorar el Código

Merge branch 'http_mock' of git.xiaojukeji.com:pu_qa_tool/thoth-frontend into http_mock

qinzhipeng_v@didiglobal.com hace 4 años
padre
commit
f04ce4136b

+ 4 - 0
src/views/monthlyReport/childrenPage/editReport/components/MrTable/Analysis.vue

@@ -229,6 +229,10 @@ export default {
       this.initAnalysis()
       this.setIsReplaceTheFeedbackPerson()
       this.setUserNamesList()
+      // 初始化时,当 analyticFeedbackList 为空,自动添加一个子项
+      if (this.analyticFeedbackList && !this.analyticFeedbackList[0].analyticContents.length) {
+        this.addItem()
+      }
     },
     // 设置人员账号
     setUserNamesList() {