|

楼主 |
发表于 2018-2-26 09:32:26
|
显示全部楼层
这个问题已经解决,当时是加了
var CommonUtils = require("$UI/system/components/justep/common/utils");
this.callParent();
var shellImpl = new ShellImpl(this, {
"contentsXid" : "pages",
"pageMappings" : {
"main" : {
url : require.toUrl('$UI/C19V01/M020_APP/process/main/main.w')
},
"login" : {
url : require.toUrl('$UI/C19V01/M020_APP/process/login/index.w')
}
}
});
shellImpl.useDefaultExitHandler = false;
CommonUtils.attachDoubleClickExitApp(function() {
if (shellImpl.pagesComp.getActiveIndex() === 0) {
return true;
}
return false;
}); |
|