zy-react-library 1.0.142 → 1.0.144

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.
@@ -3,9 +3,9 @@ import type { ForwardRefExoticComponent, RefAttributes } from "react";
3
3
 
4
4
  export interface EditorProps {
5
5
  /** 编辑器内容值 */
6
- value: string;
6
+ value?: string;
7
7
  /** 内容改变回调 */
8
- onChange: (html: string) => void;
8
+ onChange?: (html: string) => void;
9
9
  /** 是否禁用 */
10
10
  disabled?: boolean;
11
11
  }
@@ -485,7 +485,7 @@ const FormItemsRenderer = ({
485
485
  <Form.Item
486
486
  noStyle
487
487
  rules={getRules(listOption)}
488
- name={[field.name, listOption.name]}
488
+ name={listOption.name}
489
489
  >
490
490
  {renderFormControl(listOption)}
491
491
  </Form.Item>
@@ -25,6 +25,7 @@ function getService(service, getExtraParams = {}, transform) {
25
25
  pageSize,
26
26
  ...transformedFormData,
27
27
  ...extraParams,
28
+ menuPath: window.location.pathname,
28
29
  });
29
30
  // 返回数据
30
31
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zy-react-library",
3
3
  "private": false,
4
- "version": "1.0.142",
4
+ "version": "1.0.144",
5
5
  "type": "module",
6
6
  "description": "",
7
7
  "author": "LiuJiaNan",