diff --git a/examples/sites/playground/App.vue b/examples/sites/playground/App.vue index d38afaf9b1..385efa4bb5 100644 --- a/examples/sites/playground/App.vue +++ b/examples/sites/playground/App.vue @@ -9,8 +9,6 @@ import { staticDemoPath, getWebdocPath } from '@/views/components/cmpConfig' import { fetchDemosFile } from '@/tools/utils' import logoUrl from './assets/opentiny-logo.svg?url' import GitHub from './icons/Github.vue' -import Sun from './icons/Sun.vue' -import Moon from './icons/Moon.vue' import Share from './icons/Share.vue' const versions = ['3.11', '3.10', '3.9', '3.8'] @@ -67,13 +65,6 @@ const store = new useStore({ } }) -// 切换主题 -const dark = ref(false) - -const toggleTheme = (theme) => { - dark.value = theme -} - const state = reactive({ // repl 属性 layout: 'horizon', @@ -194,20 +185,13 @@ function share() { - 版本: + OpenTiny Vue 版本: - + - - @@ -216,7 +200,6 @@ function share() {