|
@@ -98,6 +98,7 @@
|
|
checkedColor: '#2CB7CA',
|
|
checkedColor: '#2CB7CA',
|
|
// from默认为'', 值为bindPhone时表示从手机号绑定页面/jyapp/account/phone/bind?mode=mergeBind过来的
|
|
// from默认为'', 值为bindPhone时表示从手机号绑定页面/jyapp/account/phone/bind?mode=mergeBind过来的
|
|
from: '',
|
|
from: '',
|
|
|
|
+ direct: '',
|
|
token: '',
|
|
token: '',
|
|
userName:{
|
|
userName:{
|
|
wx:'',
|
|
wx:'',
|
|
@@ -120,10 +121,14 @@
|
|
},
|
|
},
|
|
created () {
|
|
created () {
|
|
this.token = utils.getParam('token')
|
|
this.token = utils.getParam('token')
|
|
- var from = utils.getParam('from')
|
|
|
|
- if (from) {
|
|
|
|
- this.from = from
|
|
|
|
- }
|
|
|
|
|
|
+ var from = utils.getParam('from')
|
|
|
|
+ if (from) {
|
|
|
|
+ this.from = from
|
|
|
|
+ }
|
|
|
|
+ var direct = utils.getParam('toDirect')
|
|
|
|
+ if (direct) {
|
|
|
|
+ this.direct = direct
|
|
|
|
+ }
|
|
this.getInfo()
|
|
this.getInfo()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -252,6 +257,8 @@
|
|
JyObj.refreshAppointTab('subscribe', 1)
|
|
JyObj.refreshAppointTab('subscribe', 1)
|
|
JyObj.refreshAppointTab('box', 1)
|
|
JyObj.refreshAppointTab('box', 1)
|
|
JyObj.refreshAppointTab('me', 1)
|
|
JyObj.refreshAppointTab('me', 1)
|
|
|
|
+ }else if (this.direct !==""){
|
|
|
|
+ window.location.replace(this.direct)
|
|
} else {
|
|
} else {
|
|
history.go(-2)
|
|
history.go(-2)
|
|
}
|
|
}
|