@zat-design/sisyphus-react 3.7.0-beta.1 → 3.7.0-beta.2
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.
|
@@ -46,7 +46,8 @@ var ConfirmWrapper = function ConfirmWrapper(props) {
|
|
|
46
46
|
form: form,
|
|
47
47
|
namePath: otherProps.namePath,
|
|
48
48
|
name: otherProps.name,
|
|
49
|
-
index: otherProps.index
|
|
49
|
+
index: otherProps.index,
|
|
50
|
+
preValue: form.getFieldValue(otherProps.listName || otherProps.name)
|
|
50
51
|
});
|
|
51
52
|
case 5:
|
|
52
53
|
_context.t0 = _context.sent;
|
|
@@ -220,7 +220,7 @@ export interface ProFormColumnProps<Values = any> extends Omit<FormItemProps<Val
|
|
|
220
220
|
extra?: string | React.ReactNode;
|
|
221
221
|
/** 是否固定字段, 不隐藏 */
|
|
222
222
|
fixed?: boolean;
|
|
223
|
-
confirm?: boolean | ModalFuncProps | FunctionArgs<Values, boolean | ModalFuncProps | void
|
|
223
|
+
confirm?: boolean | ModalFuncProps | FunctionArgs<Values, boolean | ModalFuncProps | void | Promise<boolean | ModalFuncProps | void>>;
|
|
224
224
|
/** 防抖模式 */
|
|
225
225
|
debounceWait?: number;
|
|
226
226
|
}
|
|
@@ -52,7 +52,8 @@ var ConfirmWrapper = function ConfirmWrapper(props) {
|
|
|
52
52
|
form: form,
|
|
53
53
|
namePath: otherProps.namePath,
|
|
54
54
|
name: otherProps.name,
|
|
55
|
-
index: otherProps.index
|
|
55
|
+
index: otherProps.index,
|
|
56
|
+
preValue: form.getFieldValue(otherProps.listName || otherProps.name)
|
|
56
57
|
});
|
|
57
58
|
case 5:
|
|
58
59
|
_context.t0 = _context.sent;
|
|
@@ -220,7 +220,7 @@ export interface ProFormColumnProps<Values = any> extends Omit<FormItemProps<Val
|
|
|
220
220
|
extra?: string | React.ReactNode;
|
|
221
221
|
/** 是否固定字段, 不隐藏 */
|
|
222
222
|
fixed?: boolean;
|
|
223
|
-
confirm?: boolean | ModalFuncProps | FunctionArgs<Values, boolean | ModalFuncProps | void
|
|
223
|
+
confirm?: boolean | ModalFuncProps | FunctionArgs<Values, boolean | ModalFuncProps | void | Promise<boolean | ModalFuncProps | void>>;
|
|
224
224
|
/** 防抖模式 */
|
|
225
225
|
debounceWait?: number;
|
|
226
226
|
}
|