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

test1

上级 86312e2f
...@@ -71,9 +71,9 @@ export default { ...@@ -71,9 +71,9 @@ export default {
} }
}, },
mounted() { mounted() {
window.__refresh = function (parm) { // window.__refresh = function (parm) {
_this.getData(); // _this.getData();
} // }
window.addEventListener('scroll', this.handleScroll) window.addEventListener('scroll', this.handleScroll)
}, },
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
// if( window[t] ){ // if( window[t] ){
// window[t](n) // window[t](n)
// } // }
alert('__refresh')
if(t == '__refresh'){ if(t == '__refresh'){
__refresh(n) __refresh(n)
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册