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:
Yugang Cao 2021-11-03 23:04:49 +08:00 committed by GitHub
parent cbd2c7beb6
commit ec61bbf906
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -10,6 +10,7 @@
### Fixes
- 修复 `n-alert` `contentTextColor``titleTextColor` 的类型主题变量不起作用,关闭 [#1495](https://github.com/TuSimple/naive-ui/issues/1495)
- 修复 `n-upload` 未导出 `openFileDialog` 方法
### i18n

View File

@ -526,6 +526,7 @@ export default defineComponent({
dragOver: dragOverRef,
handleFileInputChange,
submit,
openFileDialog,
cssVars: cssVarsRef
}
},