parent
71f11d55c9
commit
0598321368
|
|
@ -3,9 +3,9 @@ import type { ForwardRefExoticComponent, RefAttributes } from "react";
|
||||||
|
|
||||||
export interface EditorProps {
|
export interface EditorProps {
|
||||||
/** 编辑器内容值 */
|
/** 编辑器内容值 */
|
||||||
value: string;
|
value?: string;
|
||||||
/** 内容改变回调 */
|
/** 内容改变回调 */
|
||||||
onChange: (html: string) => void;
|
onChange?: (html: string) => void;
|
||||||
/** 是否禁用 */
|
/** 是否禁用 */
|
||||||
disabled?: boolean;
|
disabled?: boolean;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ function getService(service, getExtraParams = {}, transform) {
|
||||||
pageSize,
|
pageSize,
|
||||||
...transformedFormData,
|
...transformedFormData,
|
||||||
...extraParams,
|
...extraParams,
|
||||||
|
menuPath: window.location.pathname,
|
||||||
});
|
});
|
||||||
// 返回数据
|
// 返回数据
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue