mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-02-11 13:10:26 +08:00
This commit is contained in:
parent
6b328680ba
commit
e16223f1e0
@ -9,6 +9,7 @@
|
||||
- Fix `n-pagination`'s' `default-page-size` prop doesn't follows `page-sizes` prop, closes [#3369](https://github.com/TuSimple/naive-ui/issues/3369).
|
||||
- Added `exports` field in package.json [#3410](https://github.com/TuSimple/naive-ui/pull/3410).
|
||||
- Fix `n-dropdown` option prefix & suffix's z-index, closes [#3433](https://github.com/TuSimple/naive-ui/issues/3433).
|
||||
- Fix `n-input-number`'s peers theme can't be configured, closes [#3422](https://github.com/TuSimple/naive-ui/issues/3422).
|
||||
|
||||
### Feats
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
- 修复 `n-pagination` 的 `default-page-size` 没有跟随 `page-sizes` prop,关闭 [#3369](https://github.com/TuSimple/naive-ui/issues/3369)
|
||||
- 在 package.json 中新增 `exports` [3410](https://github.com/TuSimple/naive-ui/pull/3410)
|
||||
- 修复 `n-dropdown` 选项 prefix & suffix 的 z-index,关闭 [#3433](https://github.com/TuSimple/naive-ui/issues/3433)
|
||||
- 修复 `n-input-number` 中配置 peers 主题不生效,关闭 [#3422](https://github.com/TuSimple/naive-ui/issues/3422)
|
||||
|
||||
### Feats
|
||||
|
||||
|
@ -620,6 +620,8 @@ export default defineComponent({
|
||||
text
|
||||
disabled={!this.minusable || this.mergedDisabled || this.readonly}
|
||||
focusable={false}
|
||||
theme={this.mergedTheme.peers.Button}
|
||||
themeOverrides={this.mergedTheme.peerOverrides.Button}
|
||||
builtinThemeOverrides={this.buttonThemeOverrides}
|
||||
onClick={this.handleMinusClick}
|
||||
onMousedown={this.handleMinusMousedown}
|
||||
@ -644,6 +646,8 @@ export default defineComponent({
|
||||
text
|
||||
disabled={!this.addable || this.mergedDisabled || this.readonly}
|
||||
focusable={false}
|
||||
theme={this.mergedTheme.peers.Button}
|
||||
themeOverrides={this.mergedTheme.peerOverrides.Button}
|
||||
builtinThemeOverrides={this.buttonThemeOverrides}
|
||||
onClick={this.handleAddClick}
|
||||
onMousedown={this.handleAddMousedown}
|
||||
|
@ -1503,8 +1503,8 @@ export default defineComponent({
|
||||
? resolveSlot(this.$slots.empty, () => [
|
||||
<NEmpty
|
||||
class={`${mergedClsPrefix}-tree__empty`}
|
||||
theme={this.theme?.peers?.Empty}
|
||||
themeOverrides={this.themeOverrides?.peers?.Empty}
|
||||
theme={this.mergedTheme.peers.Empty}
|
||||
themeOverrides={this.mergedTheme.peerOverrides.Empty}
|
||||
/>
|
||||
])
|
||||
: fNodes.map(createNode)}
|
||||
|
Loading…
Reference in New Issue
Block a user