Browse Source

过滤出999991学校

lrf402788946 5 years ago
parent
commit
e975c94a18
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/store.js

+ 2 - 0
src/store.js

@@ -75,6 +75,8 @@ export default new Vuex.Store({
       if (type === 'list') {
         let { corpid, skip, limit } = data;
         result = await this.$axios.$get(`${api.corpSchInfo}`, { corpid: corpid }, { skip: skip, limit: limit });
+        let newArr = result.data.filter(fil => `${fil.schid}` !== `999991`);
+        result.data = newArr;
       }
 
       return result;