zhuliu 9 달 전
부모
커밋
6add70b2a2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/backStageManage/layout/Layout.vue

+ 1 - 1
src/views/backStageManage/layout/Layout.vue

@@ -118,7 +118,7 @@ export default {
         size:1
       }
       this.$api.queryAuditTask(params).then(response=>{
-            if(response.code == 200){
+            if(response.code == 200 && response.data.total){
               var num = response.data.total
               var html = `<div>您还有<span style="color:red;">${num}</span>个任务待处理,具体详情请点击前往任务中心查看<div>`
               var that = this