数字反显问题解决
This commit is contained in:
@ -19,7 +19,7 @@
|
|||||||
const schema = props.schema;
|
const schema = props.schema;
|
||||||
const { componentProps, component } = schema;
|
const { componentProps, component } = schema;
|
||||||
|
|
||||||
if (['Input', 'AutoCodeRule', 'DatePicker', 'InputTextArea'].includes(component)) {
|
if (['Input', 'AutoCodeRule', 'DatePicker', 'InputTextArea', 'InputNumber'].includes(component)) {
|
||||||
return `${componentProps?.addonBefore || ''}${val}${componentProps?.addonAfter || ''}`;
|
return `${componentProps?.addonBefore || ''}${val}${componentProps?.addonAfter || ''}`;
|
||||||
}
|
}
|
||||||
if (component === 'Switch') {
|
if (component === 'Switch') {
|
||||||
|
|||||||
Reference in New Issue
Block a user