reloaded 5 rokov pred
rodič
commit
9ae8afb936
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  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 });