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

test1 -1

上级 331775fb
...@@ -111,9 +111,9 @@ export default { ...@@ -111,9 +111,9 @@ export default {
_this.getData() _this.getData()
_this.setUserInfo(params) _this.setUserInfo(params)
} }
window.__refresh = function (parm) { // window.__refresh = function (parm) {
_this.getUserInfo(); // _this.getUserInfo();
} // }
}, },
mounted() { mounted() {
this.getUserInfo() this.getUserInfo()
...@@ -133,7 +133,6 @@ export default { ...@@ -133,7 +133,6 @@ export default {
}, },
watch: { watch: {
refreshNum(val) { refreshNum(val) {
alert('refreshNum: ' + refreshNum)
this.getData() this.getData()
} }
}, },
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
// if( window[t] ){ // if( window[t] ){
// window[t](n) // window[t](n)
// } // }
alert(__refresh) alert(t)
if(t == '__refresh'){ if(t == '__refresh'){
__refresh(n) __refresh(n)
} }
......
...@@ -68,12 +68,12 @@ export default { ...@@ -68,12 +68,12 @@ export default {
window.__getStatusBarHeight = function (param) { window.__getStatusBarHeight = function (param) {
_self.setStatusBarHeight(param) _self.setStatusBarHeight(param)
} }
window.__refresh = function(){ // window.__refresh = function(){
alert(44) // alert(44)
_self.setRefreshNum(++this.refreshNum) // _self.setRefreshNum(++this.refreshNum)
alert(55) // alert(55)
_self.getUserInfo() // _self.getUserInfo()
} // }
// window.__refresh = function(){ // window.__refresh = function(){
// alert(44) // alert(44)
// alert(55) // alert(55)
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册