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

收藏测试

上级 e4ec03f5
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
e.rocNative = { e.rocNative = {
// 参数说明 e:回传回来的移动端服务名称; t:前端自己传递的回调JS方法 // 参数说明 e:回传回来的移动端服务名称; t:前端自己传递的回调JS方法
__nativeCall: function (e, t, n) { __nativeCall: function (e, t, n) {
alert(t)
if( window[t] ){ if( window[t] ){
window[t](n) window[t](n)
} }
......
...@@ -176,7 +176,9 @@ export default { ...@@ -176,7 +176,9 @@ export default {
_this.search() _this.search()
} }
window.__refresh = function(){ window.__refresh = function(){
alert(44)
_this.setRefreshNum(++this.refreshNum) _this.setRefreshNum(++this.refreshNum)
alert(55)
_this.getUserInfo() _this.getUserInfo()
} }
if(window.__isWeb){ if(window.__isWeb){
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册