Commit 0ca0afa4 by 李伟康

```

refactor(deliveryManagement): 优化交车管理页面刷新机制

移除旧的事件总线刷新方式,改为使用 onShow 生命周期钩子实现页面刷新。
在详情页中移除了手动触发列表刷新的事件发射逻辑。
在列表页中移除了事件监听器,改用页面显示时自动刷新数据。
```
1 parent b0d371bc
......@@ -118,7 +118,6 @@ export default {
},
refresh(id){
this.getDeliveryOrderDetail(id)
uni.$emit('refreshDeliveryList')
}
}
}
......
......@@ -183,13 +183,12 @@ export default {
}
},
mounted () {
this.getDeliveryOrderListCount()
uni.$track.add({
eventCode: 'app_delivery_management'
})
uni.$on('refreshDeliveryList', () => {
this.search()
})
},
onShow(){
this.search()
},
methods: {
async getDeliveryOrderPageList (currentPage, pageSize) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!