|
Shell问题 开发记账本教程里 第五讲开发分类设置页 怎么无法正常运行
在index.jsi里 跟教程一模一样的代码
define(function(require){
var $ = require("jquery");
var justep = require("$UI/system/lib/justep");
var ShellImpl = require("$UI/system/lib/portal/shellImpl");
require("$UI/acc/appVersionChecker")
var Model = function(){
this.callParent();
};
var shellImpl = new ShellImpl(this, {
contentsXid : "pages",
wingXid : "wing",
pageMappings : {
"list" : {
url : "$UI/acc/list.w"
},
"classSetting" : {
url : "$UI/acc/classsetting.w"
}
}
});
Model.prototype.modelLoad = function(event) {
this.shellImpl.showPage("list");
return Model;
});define(function(require){
var $ = require("jquery");
var Model = function(){
this.callParent();
};
浏览器中运行 显示 cannot read property "on" undefined
|
-
教程中的代码
-
浏览器中运行
|