Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/three.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sencha touch 2 Sencha Touch 2:内置生产_Sencha Touch 2 - Fatal编程技术网

Sencha touch 2 Sencha Touch 2:内置生产

Sencha touch 2 Sencha Touch 2:内置生产,sencha-touch-2,Sencha Touch 2,我的应用程序在开发过程中运行良好,在构建生产过程中没有错误。当我访问生产构建时,它会显示: 使用消息进行计算时出错:TypeError:无法调用未定义的www.sentsa.com的方法“setMasked”:9 文档已从应用程序缓存加载,并带有清单 应用程序缓存检查事件 应用程序缓存无更新事件 setMasked不要在chrome控制台中向我发出警告。查看调用setMasked的对象的引用。当我们使用paneltype或button类型指定自己的自定义选择器时,我们遇到了问题。它在本地工作正常

我的应用程序在开发过程中运行良好,在构建生产过程中没有错误。当我访问生产构建时,它会显示:

使用消息进行计算时出错:TypeError:无法调用未定义的www.sentsa.com的方法“setMasked”:9 文档已从应用程序缓存加载,并带有清单 应用程序缓存检查事件 应用程序缓存无更新事件


setMasked不要在chrome控制台中向我发出警告。

查看调用setMasked的对象的引用。当我们使用paneltype或button类型指定自己的自定义选择器时,我们遇到了问题。它在本地工作正常,但在生产构建中失败。答案是创建我们自己的xtype,它在配置中有一个paneltype,这很有效

Ext.define('ux.form.PhoneTabPanel', {
    extend: 'Ext.Container',
    xtype: 'phonetabpanel',
    config: {
        paneltype: null
    }
});

嗨,戴夫,好的,我会尽力的。