Commit 1551b877 by wangzhihui

fixed

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