|
@@ -61426,10 +61426,12 @@ define(['exports', 'sql-formatter'], function (exports, sqlFormatter) { 'use str
|
|
|
return extHandle.column.lookupReferenceHolder().yvanScope;
|
|
|
}
|
|
|
if (lodash.get(extHandle, 'alias[0]') === 'widget.button') ;
|
|
|
- var vm = extHandle.lookupViewModel();
|
|
|
- return vm.yvanScope;
|
|
|
+ if (typeof extHandle.lookupViewModel === 'function') {
|
|
|
+ var vm = extHandle.lookupViewModel();
|
|
|
+ return vm.yvanScope;
|
|
|
+ }
|
|
|
+ return;
|
|
|
}
|
|
|
- //# sourceMappingURL=lib.js.map
|
|
|
|
|
|
/**
|
|
|
* 全局 ajax 方法
|
|
@@ -95943,6 +95945,18 @@ define(['exports', 'sql-formatter'], function (exports, sqlFormatter) { 'use str
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ if (c.dict) {
|
|
|
+ c.fix = ['system.getDict("' + c.dict + '")'];
|
|
|
+ if (c.editor && c.editor.xtype === 'combo') {
|
|
|
+ c.editor.fix = ['system.getDict("' + c.dict + '")'];
|
|
|
+ c.editor.typeAhead = true;
|
|
|
+ c.editor.triggerAction = 'all';
|
|
|
+ c.editor.selectOnFocus = false;
|
|
|
+ c.editor.listConfig = {
|
|
|
+ minWidth: 200
|
|
|
+ };
|
|
|
+ }
|
|
|
+ }
|
|
|
if (formatter === 'button') {
|
|
|
c.tdCls = 'td-btn';
|
|
|
if (!c.listeners) {
|
|
@@ -96874,6 +96888,7 @@ define(['exports', 'sql-formatter'], function (exports, sqlFormatter) { 'use str
|
|
|
}
|
|
|
// throw new TypeError('无法识别的调用方法')
|
|
|
}
|
|
|
+ //# sourceMappingURL=grid.js.map
|
|
|
|
|
|
/**
|
|
|
* 创建一个 Ajax 客户端
|