Browse Source

任务过滤

pengjing 10 months ago
parent
commit
45e81c40bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      h5app/src/views/sapp/tabMain.vue

+ 1 - 1
h5app/src/views/sapp/tabMain.vue

@@ -149,7 +149,7 @@ export default defineComponent({
         pageSize: 1000,
       });
 
-      const taskWarningList = result.list.filter((it: any) => it.taskLevel === 1);
+      const taskWarningList = result.list.filter((it: any) => it.taskLevel === 1 && it.taskStatus === 0);
 
       if (taskWarningList.length > 0) {
         const alert = await alertController.create({