Commit c8ebc4d2 by wangzhihui

打开注释代码

1 parent 7a3ada05
...@@ -174,7 +174,7 @@ export default { ...@@ -174,7 +174,7 @@ export default {
created() { created() {
// 先缓存链接业务参数,避免 OAuth 跳转后 orderCode 丢失 // 先缓存链接业务参数,避免 OAuth 跳转后 orderCode 丢失
this.initPageParams() this.initPageParams()
// store.dispatch('login') store.dispatch('login')
}, },
watch: { watch: {
'$store.state.app.authorizePage': { '$store.state.app.authorizePage': {
...@@ -194,10 +194,10 @@ export default { ...@@ -194,10 +194,10 @@ export default {
// 授权回调后 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') || '15814019200'
if (this.phone) { // if (this.phone) {
this.loadStaffInfoByPhone(this.phone) // this.loadStaffInfoByPhone(this.phone)
} // }
this.loadOrderDetail(this.orderCode) // this.loadOrderDetail(this.orderCode)
}, },
loadStaffInfoByPhone(phone) { loadStaffInfoByPhone(phone) {
orderApprovalApi.getStaffInfoByPhone({ phone }).then(res => { orderApprovalApi.getStaffInfoByPhone({ phone }).then(res => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!