PrinceLee 5 жил өмнө
parent
commit
20ad24d00a

+ 1 - 1
src/views/projectManage/taskList/taskViewDetails.vue

@@ -860,7 +860,7 @@ export default {
     },
     },
     async get_echarts() {
     async get_echarts() {
       const resBug = await bugGetBugStatusMapInfo({ taskId: this.taskId })
       const resBug = await bugGetBugStatusMapInfo({ taskId: this.taskId })
-      if (resBug === 200) {
+      if (resBug.code === 200) {
         this.fixInFutureCount = resBug.data.fixInFutureCount
         this.fixInFutureCount = resBug.data.fixInFutureCount
         this.totalCount = resBug.data.totalCount
         this.totalCount = resBug.data.totalCount
         resBug.data.statusInfoList.map(item => {
         resBug.data.statusInfoList.map(item => {