簡體   English   中英

ExtJS網格鎖定錯誤,sencha構建后

[英]ExtJS grid locking error post sencha build

當我使用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時,會發生錯誤。

請指導:)

編輯:如果可能的話,請建議我一些應該添加到我application.js文件中的require []的JS類。

這是缺少的課程:

Ext.grid.locking.Lockable

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM