mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-23 01:30:26 +08:00
fix: disabledOnChangeListener
not work in form (#5146)
This commit is contained in:
parent
ce4af37fd8
commit
22c1f86ca1
@ -231,11 +231,10 @@ function fieldBindEvent(slotProps: Record<string, any>) {
|
||||
...(disabledOnInputListener ? { onInput: undefined } : {}),
|
||||
};
|
||||
}
|
||||
return disabledOnInputListener
|
||||
? {
|
||||
onInput: undefined,
|
||||
}
|
||||
: {};
|
||||
return {
|
||||
...(disabledOnInputListener ? { onInput: undefined } : {}),
|
||||
...(disabledOnChangeListener ? { onChange: undefined } : {}),
|
||||
};
|
||||
}
|
||||
|
||||
function createComponentProps(slotProps: Record<string, any>) {
|
||||
|
Loading…
Reference in New Issue
Block a user