Commit 1551b877 by wangzhihui

fixed

1 parent c8ebc4d2
...@@ -181,8 +181,9 @@ export default { ...@@ -181,8 +181,9 @@ export default {
immediate: true, immediate: true,
handler(val) { handler(val) {
if (val && this.orderCode) { if (val && this.orderCode) {
console.log(this.phone, '$store.state.app.authorizePag')
this.loadOrderDetail(this.orderCode) this.loadOrderDetail(this.orderCode)
this.loadStaffInfoByPhone(this.phone) // this.loadStaffInfoByPhone(this.phone)
} }
} }
} }
...@@ -193,10 +194,11 @@ export default { ...@@ -193,10 +194,11 @@ export default {
if (orderCode) this.setLocalStorage('ww_orderCode', orderCode) if (orderCode) this.setLocalStorage('ww_orderCode', orderCode)
// 授权回调后 URL 可能只剩 code,从缓存读取 // 授权回调后 URL 可能只剩 code,从缓存读取
this.orderCode = this.getLocalStorage('ww_orderCode') || '' this.orderCode = this.getLocalStorage('ww_orderCode') || ''
this.phone = this.getLocalStorage('ww_params_phone') || '15814019200' this.phone = this.getLocalStorage('ww_params_phone') || ''
// if (this.phone) { console.log(this.phone, 'this.phone')
// this.loadStaffInfoByPhone(this.phone) if (this.phone) {
// } this.loadStaffInfoByPhone(this.phone)
}
// this.loadOrderDetail(this.orderCode) // this.loadOrderDetail(this.orderCode)
}, },
loadStaffInfoByPhone(phone) { loadStaffInfoByPhone(phone) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!