Ext.define('exploit.hello.variety',{ extend: 'Ext.panel.Panel', title: "west",? ? layout: "accordion", ?//設(shè)置為手風(fēng)琴布局? ? layoutConfig: {? ? ? ? animate: true? ? },? ? width: 250,? ? minWidth: 90,? ? region: "west", //設(shè)置方位? ? split: true,? ? collapsible: true,? ? items: [? ? ? ? ? ? ? ? { title: "嵌套面板一", html: "嵌套面板一", iconCls: "save" },? ? ? ? ? ? ? ? { title: "嵌套面板二", html: "嵌套面板二", iconCls: "search" },? ? ? ? ? ? ? ? { title: "嵌套面板三", html: "嵌套面板三", iconCls: "back" },? ? ? ? ? ? ? ? { title: "嵌套面板四", html: "嵌套面板四", iconCls: "12" }? ? ? ? ? ?]});
extjs報(bào)錯(cuò)variety.js:2 Uncaught TypeError: Ext.define is not a function at variety.js:2
應(yīng)龍
2017-04-27 11:44:26