登录
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
18631081161 2026-04-03 19:29:28 +08:00
parent 16f986c823
commit 70c37c4ad6

View File

@ -151,6 +151,12 @@ export default {
goBack() { uni.navigateBack() },
/** 加载订单详情 */
async loadDetail() {
//
const token = uni.getStorageSync('token')
if (!token) {
uni.navigateTo({ url: '/pages/login/login' })
return
}
this.loading = true
try {
this.order = await getOrderDetail(this.orderId)