mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
fix(upload): export openFileDialog method (#1511)
* fix(n-upload): export openFileDialog method * Update CHANGELOG.zh-CN.md Co-authored-by: yugang.cao <yugang.cao@tusimple.ai> Co-authored-by: 07akioni <07akioni2@gmail.com>
This commit is contained in:
parent
cbd2c7beb6
commit
ec61bbf906
@ -10,6 +10,7 @@
|
||||
### Fixes
|
||||
|
||||
- Fix `n-alert` `contentTextColor` and `titleTextColor` type theme variable not working, closes [#1495](https://github.com/TuSimple/naive-ui/issues/1495).
|
||||
- Fix `n-upload` export `openFileDialog` method.
|
||||
|
||||
### i18n
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
### Fixes
|
||||
|
||||
- 修复 `n-alert` `contentTextColor` 和 `titleTextColor` 的类型主题变量不起作用,关闭 [#1495](https://github.com/TuSimple/naive-ui/issues/1495)
|
||||
- 修复 `n-upload` 未导出 `openFileDialog` 方法
|
||||
|
||||
### i18n
|
||||
|
||||
|
@ -526,6 +526,7 @@ export default defineComponent({
|
||||
dragOver: dragOverRef,
|
||||
handleFileInputChange,
|
||||
submit,
|
||||
openFileDialog,
|
||||
cssVars: cssVarsRef
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user