wangfukang 3 weeks ago
parent
commit
4b4bc0f170
  1. 4
      pages/index/index.vue

4
pages/index/index.vue

@ -861,6 +861,7 @@
this.getUserLocation(); this.getUserLocation();
// WebSocket // WebSocket
this.getDeliveryLocation(); this.getDeliveryLocation();
this.getDelivery();
}, },
onShow() { onShow() {
let that = this let that = this
@ -896,6 +897,9 @@
this.checkTab(index); this.checkTab(index);
// 400ms200ms200ms // 400ms200ms200ms
setTimeout(() => { this.isSwitching = false; }, 400); setTimeout(() => { this.isSwitching = false; }, 400);
},
getDelivery(){
}, },
checkTab(index) { checkTab(index) {
for (let i = 0; i < this.menuList.length; i++) { for (let i = 0; i < this.menuList.length; i++) {

Loading…
Cancel
Save