PrinceLee 5 anni fa
parent
commit
20ad24d00a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/projectManage/taskList/taskViewDetails.vue

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

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