wuhongyu %!s(int64=5) %!d(string=hai) anos
pai
achega
ae92622c47
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 } = {}) {
       let totaltype = this.totaltype;
       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);
       for (const val of res.data) {