chore(input-number): format

This commit is contained in:
07akioni 2021-06-15 01:00:51 +08:00
parent 4e927823a3
commit 5905c07276

View File

@ -367,45 +367,45 @@ export default defineComponent({
>
{this.showButton
? {
suffix: () => [
<NButton
text
disabled={!this.minusable || this.disabled}
focusable={false}
builtinThemeOverrides={this.buttonThemeOverrides}
onClick={this.handleMinusClick}
ref="minusButtonInstRef"
>
{{
default: () => (
<NBaseIcon clsPrefix={mergedClsPrefix}>
{{
default: () => <RemoveIcon />
}}
</NBaseIcon>
)
}}
</NButton>,
<NButton
text
disabled={!this.addable || this.disabled}
focusable={false}
builtinThemeOverrides={this.buttonThemeOverrides}
onClick={this.handleAddClick}
ref="addButtonInstRef"
>
{{
default: () => (
<NBaseIcon clsPrefix={mergedClsPrefix}>
{{
default: () => <AddIcon />
}}
</NBaseIcon>
)
}}
</NButton>
]
}
suffix: () => [
<NButton
text
disabled={!this.minusable || this.disabled}
focusable={false}
builtinThemeOverrides={this.buttonThemeOverrides}
onClick={this.handleMinusClick}
ref="minusButtonInstRef"
>
{{
default: () => (
<NBaseIcon clsPrefix={mergedClsPrefix}>
{{
default: () => <RemoveIcon />
}}
</NBaseIcon>
)
}}
</NButton>,
<NButton
text
disabled={!this.addable || this.disabled}
focusable={false}
builtinThemeOverrides={this.buttonThemeOverrides}
onClick={this.handleAddClick}
ref="addButtonInstRef"
>
{{
default: () => (
<NBaseIcon clsPrefix={mergedClsPrefix}>
{{
default: () => <AddIcon />
}}
</NBaseIcon>
)
}}
</NButton>
]
}
: null}
</NInput>
</div>