fix(theme-editor): unable to re-import after clear

This commit is contained in:
07akioni 2021-03-31 23:12:35 +08:00
parent a040276064
commit 8b29b7a4a3

View File

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