@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[];
@@ -2,4 +2,7 @@
2
2
  width: 100%;
3
3
  border-radius: 2px;
4
4
  overflow: hidden;
5
+ .ant-select-selection-item {
6
+ flex: none !important;
7
+ }
5
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arim-aisdc/public-components",
3
- "version": "2.1.11",
3
+ "version": "2.1.13",
4
4
  "description": "前端组件库",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",