Fix dark mode issue
This commit is contained in:
parent
0fda0c3fbc
commit
5e6f4d78a1
|
@ -117,8 +117,10 @@ const loadForm = async (setup=false) => {
|
|||
|
||||
onMounted(() => {
|
||||
loadForm()
|
||||
handleDarkMode(form.value.dark_mode)
|
||||
handleTransparentMode(form.value.transparent_background)
|
||||
if (form.value) {
|
||||
handleDarkMode(form.value?.dark_mode)
|
||||
handleTransparentMode(form.value?.transparent_background)
|
||||
}
|
||||
})
|
||||
|
||||
await loadForm(true)
|
||||
|
|
Loading…
Reference in New Issue