@arim-aisdc/public-components 2.1.11 → 2.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -66,7 +66,8 @@ var RemoteSelect = function RemoteSelect(_ref) {
|
|
|
66
66
|
notFoundContent: fetching ? /*#__PURE__*/_jsx(Spin, {
|
|
67
67
|
size: "small"
|
|
68
68
|
}) : null,
|
|
69
|
-
fieldNames: item.fieldNames
|
|
69
|
+
fieldNames: item.fieldNames,
|
|
70
|
+
labelInValue: item.labelInValue
|
|
70
71
|
});
|
|
71
72
|
};
|
|
72
73
|
export default RemoteSelect;
|
|
@@ -116,6 +116,8 @@ export type CustomSearchFieldType = {
|
|
|
116
116
|
displayRender?: (labels: string[]) => string;
|
|
117
117
|
/**级联选择器是否多选 */
|
|
118
118
|
multiple?: boolean;
|
|
119
|
+
/**remoteSelect组件在用的属性:是否把每个选项的 label 包装到 value 中,会把 Select 的 value 类型从 string 变为 { value: string, label: ReactNode } 的格式 */
|
|
120
|
+
labelInValue?: boolean;
|
|
119
121
|
};
|
|
120
122
|
export interface CustomFormProps {
|
|
121
123
|
data: CustomSearchFieldType[];
|