fuchengshen
2022-07-04 343ba87e09501be7a63abde000a43e13a5b4f03e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"use script"; //开发环境建议开启严格模式
 
//对应widget.js中MyWidget实例化后的对象
var thisWidget;
 
//当前页面业务
function initWidgetView(_thisWidget) {
  thisWidget = _thisWidget;
 
  //测试:调用了【index页面对应widg.js】 中的方法
  // thisWidget.testFun();
}
 
//测试
// function testIframeFun() {
//     toastr.error('我是弹窗中的方法');
// }