small-program/pages/demand-hall/demand-hall.vue
@@ -213,6 +213,13 @@ } else { this.typeViewId = 0 } if (!this.isOnce) { this.commentStatus = '' this.orderList = [] this.next = true this.page = 1 this.getOrderList() } }, data() { return { @@ -242,7 +249,8 @@ next: true, page: 1, orderList: [] orderList: [], isOnce: true }; }, async onLoad() { @@ -327,6 +335,8 @@ queryLgt: this.longitude } }).then(res => { if (res.code !== 200) return; this.isOnce = false res.data.records.forEach(item => { // 订餐单 if (item.type === 2) {