ronds-metadata 1.2.23 → 1.2.24
Sign up to get free protection for your applications and to get access to all the features.
@@ -34,7 +34,7 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
34
34
|
/*
|
35
35
|
* @Author:wangxian
|
36
36
|
* @Date: 2021-09-18 14:15:04
|
37
|
-
* @LastEditTime: 2023-03-
|
37
|
+
* @LastEditTime: 2023-03-10 11:38:33
|
38
38
|
*/
|
39
39
|
import React from 'react';
|
40
40
|
import { MetadataFormContext, MetadataRefContext } from '../interface';
|
@@ -457,7 +457,7 @@ function Index(props) {
|
|
457
457
|
,
|
458
458
|
maxTagCount: extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.maxTagCount,
|
459
459
|
maxTagTextLength: extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.maxTagTextLength,
|
460
|
-
maxTagPlaceholder:
|
460
|
+
maxTagPlaceholder: extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.maxTagPlaceholder
|
461
461
|
});
|
462
462
|
} else if (isPagination) {
|
463
463
|
var _extraInfo$disabled3;
|
@@ -545,7 +545,7 @@ function Index(props) {
|
|
545
545
|
onChange: onSelectChange,
|
546
546
|
maxTagCount: extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.maxTagCount,
|
547
547
|
maxTagTextLength: extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.maxTagTextLength,
|
548
|
-
maxTagPlaceholder:
|
548
|
+
maxTagPlaceholder: extraInfo === null || extraInfo === void 0 ? void 0 : extraInfo.maxTagPlaceholder
|
549
549
|
});
|
550
550
|
}
|
551
551
|
};
|
@@ -251,7 +251,7 @@ var TableArray = function TableArray(props) {
|
|
251
251
|
};
|
252
252
|
}(), []);
|
253
253
|
var processEnumData = React.useCallback(function (data, _extraInfo) {
|
254
|
-
var _extraInfo$enum, _extraInfo$enum3;
|
254
|
+
var _extraInfo$enum, _extraInfo$enum3, _extraInfo$enum3$http;
|
255
255
|
|
256
256
|
var _options = [];
|
257
257
|
|
@@ -265,7 +265,7 @@ var TableArray = function TableArray(props) {
|
|
265
265
|
} // 从接口拿数据
|
266
266
|
|
267
267
|
|
268
|
-
if (_extraInfo === null || _extraInfo === void 0 ? void 0 : (_extraInfo$enum3 = _extraInfo.enum) === null || _extraInfo$enum3 === void 0 ? void 0 : _extraInfo$enum3.http) {
|
268
|
+
if (_extraInfo === null || _extraInfo === void 0 ? void 0 : (_extraInfo$enum3 = _extraInfo.enum) === null || _extraInfo$enum3 === void 0 ? void 0 : (_extraInfo$enum3$http = _extraInfo$enum3.http) === null || _extraInfo$enum3$http === void 0 ? void 0 : _extraInfo$enum3$http.url) {
|
269
269
|
var _extraInfo$enum4;
|
270
270
|
|
271
271
|
return getEnumDataByUrl(deepClone(_extraInfo === null || _extraInfo === void 0 ? void 0 : (_extraInfo$enum4 = _extraInfo.enum) === null || _extraInfo$enum4 === void 0 ? void 0 : _extraInfo$enum4.http));
|