mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-18 12:34:25 +08:00
fix(theme-editor): unable to re-import after clear
This commit is contained in:
parent
a040276064
commit
8b29b7a4a3
@ -157,6 +157,9 @@ export default defineComponent({
|
||||
alert('Imported File is Invalid')
|
||||
console.error(e)
|
||||
})
|
||||
.finally(() => {
|
||||
fileInput.value = ''
|
||||
})
|
||||
}
|
||||
function handleExportClick (): void {
|
||||
const url = URL.createObjectURL(
|
||||
|
Loading…
Reference in New Issue
Block a user