|
@@ -62355,6 +62355,13 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
function setComboStore(sender, config, getDictFn, bizKey, multiValueSeparator) {
|
|
|
if (multiValueSeparator === void 0) { multiValueSeparator = ""; }
|
|
|
// sender 和 config为空的时候获取值、
|
|
|
+ if (lodash.isArray(getDictFn)) {
|
|
|
+ // 如果 getDictFn 是直接给定的值,就造一个异步回调的方法
|
|
|
+ var realArray_1 = getDictFn;
|
|
|
+ getDictFn = function () {
|
|
|
+ return realArray_1;
|
|
|
+ };
|
|
|
+ }
|
|
|
if (!sender) {
|
|
|
return new Promise(function (resolve, reject) {
|
|
|
getDictFn(bizKey, function (r) {
|