ITeye博客

b is undefined 第9行

wangleide414 · 2009-11-15 21:17 · ExtJS · Markdown

在以下这种情况下会导致这种错误。定义了autoLoad:true 但是没有定义url如:

var store = new Ext.data.JsonStore({
	totalProperty : "total",
	//url : 'afficheOperate.do?action=getMyAffiche',
	pruneModifiedRecords : true,
	// rpcfn : jsonrpc.DZZ.getDzzUnit,
	// paramMap:['dzzId'],
	autoLoad : true,
	root : 'list',
	fields : ['annoId','name', 'state','isTop','sortId','className']
})

 它会提示: b is undefined      

ext-base.js (第 1 行)

Ext.DomHelper=function(){var n=null;var ...(Ext.History,new Ext.util.Observable());

ext-all.js (第 9 行)

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。