diff options
Diffstat (limited to 'layouts/default.vue')
-rw-r--r-- | layouts/default.vue | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/layouts/default.vue b/layouts/default.vue index c6e249f..b6da206 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -6,19 +6,3 @@ </main> </div> </template> - -<script> -export default { - created() { - setTimeout(() => { - const dark = document.querySelector("#__layout .dark"); - console.log(dark); - if (dark) { - document.querySelector("body").className = "dark"; - } else { - document.querySelector("body").className = ""; - } - }, 1000); - }, -}; -</script> |