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