我在Sencha Architect中创建了一个应用程序。我也制作了商店和模型,视口是初始视图。当我在firefox中测试它时出现错误:
“c不是构造函数”
没有任何反应。生成了大量文件,但生成一个名为app.js的文件包含:
Ext.Loader.setConfig({
enabled: true
});
Ext.application({
models: [
'providerModel',
'schedulingModel'
],
stores: [
'comboboxProviders',
'gridScheduling',
'comboboxDriver',
'comboboxVehicle',
'comboboxStop',
'gridLiveMapVehicles',
'gridConfigurationProviders',
'comboboxVehicleType',
'comboboxVehicleProvider',
'gridConfigurationVehicles',
'gridConfigurationDrivers',
'gridConfigurationStops',
'gridConfigurationRoutes',
'comboboxTimezone',
'comboboxRoutes',
'gridConfigurationRouteXYZ',
'gridConfigurationDepots',
'gridConfigurationOperationalDay',
'gridConfigurationOperationalHour',
'comboboxClockType',
'comboboxSpeedFormat',
'comboboxScheduleMode'
],
autoCreateViewport: true,
name: 'MyApp'
});
可能是什么问题?