mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-09 04:31:35 +08:00
fix(theme-editor): imported theme is flushed after change
This commit is contained in:
parent
6620d1836c
commit
5bdd0112a9
@ -152,6 +152,7 @@ export default defineComponent({
|
||||
.text()
|
||||
.then((value) => {
|
||||
overridesRef.value = JSON.parse(value)
|
||||
tempOverridesRef.value = JSON.parse(value)
|
||||
})
|
||||
.catch((e) => {
|
||||
alert('Imported File is Invalid')
|
||||
|
Loading…
Reference in New Issue
Block a user