【问题标题】:ExtJS grid locking error post sencha buildsencha 构建后 ExtJS 网格锁定错误
【发布时间】:2023-03-12 23:58:01
【问题描述】:

当我使用enableLocking : true 时,在运行应用程序时出现以下错误 -

在浏览器上:

TypeError: mixinClass is undefined
...lass.prototype, prototype = me.prototype, key, statics, i, ln, staticName, mixin...

当我尝试调试时:

mixin: function(name, mixinClass) {
var me = this, mixin = mixinClass.prototype, prototype = me.prototype, key, statics, i, ln, staticName, mixinValue, hookKey, hookFunction;
if (typeof mixin.onClassMixedIn != 'undefined')
{
mixin.onClassMixedIn.call(mixinClass, me);
} 

这在 ext-dev 或 ext-dev-all 上完美运行,但是当 Sencha Build 执行并构建合并的 app.js 时会发生错误。

请指导:)

编辑:如果可能,请建议我一些 JS 类,我应该在我的 application.js 文件中添加到 requires[]。

【问题讨论】:

    标签: extjs grid locking


    【解决方案1】:

    这是缺少的课程:

    Ext.grid.locking.Lockable
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-11-13
      • 1970-01-01
      • 1970-01-01
      • 2015-11-06
      • 1970-01-01
      • 2012-06-23
      • 1970-01-01
      相关资源
      最近更新 更多