Commit ef6bec74 authored by 赵茹林's avatar 赵茹林

fix last callback not update

parent 5d117cda
......@@ -267,13 +267,15 @@
this.callbackEdit.wechat.value = this.user.info.wx_number;
this.callbackEdit.wechat.origin = this.user.info.wx_number;
},
'callbackObj.timestamp'() {
this.user.user_id = this.callbackObj.user_id;
this.getUser();
this.getTag();
'callbackObj.timestamp'() { // 时间戳变化更新数据
this.initCallback();
}
},
mounted() {
this.initCallback();
},
methods: {
initCallback() {
this.user.user_id = this.callbackObj.user_id;
if (!this.hasUserInfo) {
this.getUser();
......@@ -294,9 +296,8 @@
}
})
}
},
methods: {
filterName(string, type) {
return this[type].find(i => {
return i.value == string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment