mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-06-26 20:29:21 +08:00
feat(form): select options函数配置添加prop参数
This commit is contained in:
parent
6a46f98766
commit
7e216e72f2
@ -289,6 +289,7 @@ export default defineComponent({
|
||||
Promise.resolve(
|
||||
props.config.options(mForm, {
|
||||
model: props.model,
|
||||
prop: props.prop,
|
||||
formValues: mForm?.values,
|
||||
formValue: mForm?.values,
|
||||
}),
|
||||
|
@ -188,6 +188,7 @@ type SelectOptionFunction = (
|
||||
mForm: FormState | undefined,
|
||||
data: {
|
||||
model: any;
|
||||
prop?: string;
|
||||
formValues: any;
|
||||
formValue: any;
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user