szld-libs 0.3.69 → 0.3.71

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.
@@ -25,11 +25,11 @@ const DynamicForm = forwardRef((props, ref) => {
25
25
  actionUrlExtraParams = {},
26
26
  CustomModalComponent,
27
27
  formShowType = "form",
28
- headerWidth,
29
28
  formListItemWidth,
30
29
  formListItemName,
31
30
  isEdit = false,
32
- langId = "10001"
31
+ langId = "10001",
32
+ getTitle
33
33
  } = props;
34
34
  const delFileListRef = useRef([]);
35
35
  const updateDelFileList = (file) => {
@@ -50,7 +50,8 @@ const DynamicForm = forwardRef((props, ref) => {
50
50
  CustomModalComponent,
51
51
  isEdit,
52
52
  formShowType,
53
- langId
53
+ langId,
54
+ getTitle
54
55
  });
55
56
  useImperativeHandle(ref, () => ({
56
57
  getDelFileList: () => {
@@ -109,7 +109,7 @@ function SelectModel(props) {
109
109
  attributeSetId,
110
110
  getTitle
111
111
  }) || [];
112
- setColumns(list);
112
+ setColumns([...list]);
113
113
  }
114
114
  } catch (error) {
115
115
  }
@@ -26,11 +26,11 @@ const DynamicForm = react.forwardRef((props, ref) => {
26
26
  actionUrlExtraParams = {},
27
27
  CustomModalComponent,
28
28
  formShowType = "form",
29
- headerWidth,
30
29
  formListItemWidth,
31
30
  formListItemName,
32
31
  isEdit = false,
33
- langId = "10001"
32
+ langId = "10001",
33
+ getTitle
34
34
  } = props;
35
35
  const delFileListRef = react.useRef([]);
36
36
  const updateDelFileList = (file) => {
@@ -51,7 +51,8 @@ const DynamicForm = react.forwardRef((props, ref) => {
51
51
  CustomModalComponent,
52
52
  isEdit,
53
53
  formShowType,
54
- langId
54
+ langId,
55
+ getTitle
55
56
  });
56
57
  react.useImperativeHandle(ref, () => ({
57
58
  getDelFileList: () => {
@@ -111,7 +111,7 @@ function SelectModel(props) {
111
111
  attributeSetId,
112
112
  getTitle
113
113
  }) || [];
114
- setColumns(list);
114
+ setColumns([...list]);
115
115
  }
116
116
  } catch (error) {
117
117
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "szld-libs",
3
3
  "private": false,
4
- "version": "0.3.69",
4
+ "version": "0.3.71",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",