|
[App引擎]
openFrame页面重复加载
[复制链接]
在A页面中通过openFrame打开B页面
A页面代码
apiready = function(){
api.openFrame({
name: 'index_menu',
url: 'html/home/index_menu.html',
bounces:false,
rect: {
x:0,
y:100,
w:'auto',
h:600
}
});
}
B页面代码
apiready = function(){
alert(111);
}
一键真机调试后,B页面的的alert语句执行了2次,这是什么原因啊?
|
|