zhuliu 9 tháng trước cách đây
mục cha
commit
6add70b2a2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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