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

gggg

上级 4e31f564
...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
if(t == '__getUserInfo'){ if(t == '__getUserInfo'){
__getUserInfo(n); __getUserInfo(n);
} }
if(t == '__getUserInfo_S'){
__getUserInfo_S(n);
}
if(t == '__getStatusBarHeight'){ if(t == '__getStatusBarHeight'){
__getStatusBarHeight(n); __getStatusBarHeight(n);
} }
......
...@@ -55,7 +55,7 @@ export default { ...@@ -55,7 +55,7 @@ export default {
}, },
created() { created() {
let _self = this; let _self = this;
window.__getUserInfo = function(params){ window.__getUserInfo_S = function(params){
// alert(JSON.stringify(params)) // alert(JSON.stringify(params))
_self.token = params.userToken _self.token = params.userToken
// _self.SET_USER_INFO(params) // _self.SET_USER_INFO(params)
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
}, },
getUserInfo: function () { getUserInfo: function () {
// alert('getUserInfo') // alert('getUserInfo')
rocNative.getUserInfo({'__funcName': '__getUserInfo'}) rocNative.getUserInfo({'__funcName': '__getUserInfo_S'})
}, },
getStatusBarHeight: function () { getStatusBarHeight: function () {
rocNative.getStatusBarHeight({'__funcName': '__getStatusBarHeight'}) rocNative.getStatusBarHeight({'__funcName': '__getStatusBarHeight'})
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册