Sencha touch sencha 2.3测试版-使用sencha Architect v3.0运行时触摸屏不工作

Sencha touch sencha 2.3测试版-使用sencha Architect v3.0运行时触摸屏不工作,sencha-touch,sencha-architect,Sencha Touch,Sencha Architect,运行app.html时,在使用sencha architect 3.0发布后,会显示以下错误。在complie time中,我可以看到此网格中填充的值 但是为了获取新2.3测试版的Grid.js,链接似乎是空的 请让我知道解决此错误的任何其他方法 错误: 加载资源失败:服务器响应状态为404(未找到) //@require@packageOverrides Ext.Loader.setConfig({ })) 外部应用程序({ 型号:[ “我的模型” ], 商店:[ “MyDirectStore

运行app.html时,在使用sencha architect 3.0发布后,会显示以下错误。在complie time中,我可以看到此网格中填充的值

但是为了获取新2.3测试版的Grid.js,链接似乎是空的

请让我知道解决此错误的任何其他方法

错误: 加载资源失败:服务器响应状态为404(未找到)

//@require@packageOverrides Ext.Loader.setConfig({

}))

外部应用程序({ 型号:[ “我的模型” ], 商店:[ “MyDirectStore” ], 观点:[ “我的网格” ], 名称:“MyApp”

launch: function() {

    Ext.create('MyApp.view.MyGrid', {fullscreen: true});
}
}))

Ext.define('MyApp.view.MyGrid'{ 扩展:“Ext.grid.grid”

config: {
    height: 297,
    width: 444,
    store: 'MyDirectStore',
    title: 'Grid-5Cols',
    columns: [
        {
            xtype: 'column',
            width: 85,
            dataIndex: 'no',
            text: 'EmpNo'
        },
        {
            xtype: 'column',
            width: 89,
            dataIndex: 'name',
            text: 'EName'
        },
        {
            xtype: 'column',
            width: 86,
            dataIndex: 'sal1',
            text: 'Sal1'
        },
        {
            xtype: 'column',
            width: 86,
            dataIndex: 'sal2',
            text: 'Sal2'
        },
        {
            xtype: 'column',
            width: 80,
            dataIndex: 'sal3',
            text: 'Sal3'
        }
    ]
}
}))

Ext.define('MyApp.store.MyDirectStore'{ 扩展:“Ext.data.Store”

requires: [
    'MyApp.model.MyModel'
],

config: {
    data: [
        [
            '1',
            'AceSupplies',
            '05',
            '1000',
            '10'
        ],
        [
            '2',
            'BestGoods',
            '11',
            '2000',
            '20'
        ],
        [
            '3',
            'First Choice',
            '20',
            '3000',
            '30'
        ]
    ],
    model: 'MyApp.model.MyModel',
    storeId: 'MyDirectStore',
    proxy: {
        type: 'direct',
        reader: {
            type: 'json'
        }
    }
}
}))

Ext.define('MyApp.model.MyModel'{ 扩展:“Ext.data.Model”

config: {
    fields: [
        {
            name: 'no',
            type: 'int'
        },
        {
            name: 'name',
            type: 'string'
        },
        {
            name: 'sal1',
            type: 'float'
        },
        {
            name: 'sal2',
            type: 'float'
        },
        {
            name: 'sal3',
            type: 'float'
        }
    ]
}

}))

标准Sencha Touch不包括新的Sencha触摸屏,请参见以下内容:

请注意,新的触摸屏组件不是Sencha的一部分 触摸屏,仅作为Sencha Complete或Sencha Touch的一部分提供 捆


源代码:

发布您的代码,以便其他人可以帮助您。此应用程序是使用sencha architect 3.0和sencha touch 2.3 beta完成的。我们是否可以将其添加到sencha touch中,我尝试使用Ext.Loader.setConfig添加({enabled:true,路径:{Ext.ux.touch.grid':'/Ext.ux.touch.grid'});并将文件夹放在根目录下。