Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anthony Fu committed 2020-08-10 22:04:11 +08:00
commit 192f0bee83
1 file changed
+1 -1
+1 -1
View File
@@ -19,7 +19,7 @@ export const isDark = computed({
watch(
isDark,
(v) => {
const html = document.getElementsByTagName('html')[0]
const html = document.documentElement
html.classList.toggle('schema-dark', v)
},
{ immediate: true },