reloaded 5 éve
szülő
commit
9ae8afb936
1 módosított fájl, 1 hozzáadás és 0 törlés
  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 });