Ver Fonte

Merge branch 'master' of http://git.cc-lotus.info/count/webnew-count

wuhongyu há 5 anos atrás
pai
commit
cab43b7eee
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/views/pcenter/demand.vue

+ 1 - 0
src/views/pcenter/demand.vue

@@ -151,6 +151,7 @@ export default {
       let res = {};
       if (this.user.type === '0' || this.user.type === '1') {
         res = await this.query({ skip, limit, ...info });
+        res.data = res.data.filter(item => item.status != '0');
       }
       if (this.user.type === '3') {
         res = await this.query({ skip, limit, uid: this.user.uid });