提交 ad6a5beb 编写于 作者: 杨广俊's avatar 杨广俊

token

上级 83e9ac48
...@@ -58,7 +58,6 @@ export default { ...@@ -58,7 +58,6 @@ export default {
let _self = this; let _self = this;
window.__getUserInfo_HL = function(params){ window.__getUserInfo_HL = function(params){
_self.token = params.userToken _self.token = params.userToken
alert(_self.token)
_self.getData() _self.getData()
} }
}, },
......
...@@ -168,11 +168,14 @@ export default { ...@@ -168,11 +168,14 @@ export default {
window.__getUserInfo = function(params){ window.__getUserInfo = function(params){
_this.token = params.userToken _this.token = params.userToken
_this.getAdjustData() _this.getAdjustData()
_this.search()
} }
window.__refresh = function(){ window.__refresh = function(){
_this.getUserInfo() _this.getUserInfo()
} }
_this.search() if(window.__isWeb){
_this.search()
}
window.addEventListener('scroll', this.scrollFun) window.addEventListener('scroll', this.scrollFun)
}, },
mounted(){ mounted(){
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册