diff --git a/src/components/HitokotoSettings.vue b/src/components/HitokotoSettings.vue index f9ea54f..f351544 100644 --- a/src/components/HitokotoSettings.vue +++ b/src/components/HitokotoSettings.vue @@ -113,7 +113,7 @@ export default { if (res && res.data) { data = res.data } - + if (data) { this.kvConfig = { sources: Array.isArray(data.sources) ? data.sources : ['hitokoto'], @@ -151,4 +151,4 @@ export default { } } } - \ No newline at end of file +