11wqe1 4 weeks ago
parent
commit
26123ad4a0
1 changed files with 8 additions and 1 deletions
  1. 8 1
      src/components/topPage.vue

+ 8 - 1
src/components/topPage.vue

@@ -402,7 +402,14 @@ import { myMixin } from "@/mixins/mixin.js"
                             console.log('res',res);
                             
                             let _data = res.data[0]
-                            this.admincocoFlow = appList.map(id => _data.find(item => item.id === id));
+                            
+                            let appli = appList.map(id => _data.find(item => item.id === id));
+                            console.log('appli',appli);
+                            
+
+                            this.admincocoFlow = appli.filter(Boolean);
+
+
                         })
                         .catch((err) => {
                             console.log(err);