在V3 中, 要注意一点:
//Error, not support this definition in V3
//Ext.create("Ext.form.FormPanel", {});
这样的定义的是不可以的,会报错:
参考,http://blog.csdn.net/liuzhaolst/article/details/6685352,这篇文章提醒了我, 注意到这个错误提示信息, create() 的参数, config 是类似于JSON格式的配置信息,而文档中也说的很清楚:
在V3 中, 要注意一点:
//Error, not support this definition in V3
//Ext.create("Ext.form.FormPanel", {});
参考,http://blog.csdn.net/liuzhaolst/article/details/6685352,这篇文章提醒了我, 注意到这个错误提示信息, create() 的参数, config 是类似于JSON格式的配置信息,而文档中也说的很清楚: