wuhongyu 5 years ago
parent
commit
ae92622c47
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/supermaket/supermarketlist.vue

+ 1 - 1
src/views/supermaket/supermarketlist.vue

@@ -55,7 +55,7 @@ export default {
     async search({ skip = 0, limit = 10 } = {}) {
     async search({ skip = 0, limit = 10 } = {}) {
       let totaltype = this.totaltype;
       let totaltype = this.totaltype;
       skip = this.skip;
       skip = this.skip;
-      const res = await this.list({ skip, limit, totaltype });
+      const res = await this.list({ skip, limit, totaltype, status: 1 });
       console.log(res.data);
       console.log(res.data);
       console.log(res.data);
       console.log(res.data);
       for (const val of res.data) {
       for (const val of res.data) {