Browse Source

过滤出999991学校

lrf402788946 5 năm trước cách đây
mục cha
commit
e975c94a18
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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;