From 5f82fcc8c1ed8bad48fedb7136edfede9d446bc3 Mon Sep 17 00:00:00 2001 From: chuan_wuhao <443547225@qq.com> Date: Tue, 22 Nov 2022 17:13:45 +0800 Subject: [PATCH] =?UTF-8?q?ray=20template=203.0=20=E9=83=A8=E5=88=86?= =?UTF-8?q?=E7=BB=86=E8=8A=82=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.tsx | 8 ------- .../RayTransitionComponent/index.vue | 22 +++++++++---------- src/layout/index.tsx | 1 + src/styles/animate.scss | 19 +++------------- src/views/rely/index.tsx | 4 ++-- src/views/rely/views/rely-about/index.tsx | 4 ++-- 6 files changed, 19 insertions(+), 39 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 3365e51b..ad25fe1f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,21 +1,13 @@ import RayGlobalProvider from '@/components/RayGlobalProvider/index' -import { useSetting } from '@/store' import { RouterView } from 'vue-router' const App = defineComponent({ name: 'App', setup() { - const settingStore = useSetting() const { height: windowHeight } = useWindowSize() - const { settingState } = $(storeToRefs(settingStore)) - - // const naiveTheme = computed(() => - // settingState.themeValue ? darkTheme : undefined, - // ) return { windowHeight, - // naiveTheme, } }, render() { diff --git a/src/components/RayTransitionComponent/index.vue b/src/components/RayTransitionComponent/index.vue index 49567c76..a3d80be3 100644 --- a/src/components/RayTransitionComponent/index.vue +++ b/src/components/RayTransitionComponent/index.vue @@ -1,21 +1,21 @@