修改页面逻辑
This commit is contained in:
@@ -209,6 +209,11 @@ function backToIndex() {
|
||||
uni.navigateBack({ url: '/pages/mall/delivery/index' })
|
||||
}
|
||||
|
||||
/* 兼容模板中的 goBack 绑定,保持与其它页面一致 */
|
||||
function goBack() {
|
||||
uni.navigateBack()
|
||||
}
|
||||
|
||||
/* ----------------- 数据 & 状态 ----------------- */
|
||||
const driverInfo = ref({ id: '', real_name: '配送员', avatar_url: '', rating: 4.9, total_orders: 0, work_status: 1 })
|
||||
const workStatus = ref(1)
|
||||
|
||||
Reference in New Issue
Block a user