From d5e00f2098c35070d496319c59e9931a05b15eeb Mon Sep 17 00:00:00 2001 From: lx <826276471@qq.com> Date: Thu, 24 Apr 2025 11:36:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A4=B4=E9=83=A8=E5=92=8C=E4=B8=BB?= =?UTF-8?q?=E5=AE=B9=E5=99=A8=E6=94=B9=E9=80=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/custom-scroll-title/index.vue | 4 ++-- src/layouts/index.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/custom-scroll-title/index.vue b/src/components/custom-scroll-title/index.vue index bf8bc49..f7adb0d 100644 --- a/src/components/custom-scroll-title/index.vue +++ b/src/components/custom-scroll-title/index.vue @@ -39,7 +39,7 @@ const router = useRouter(); onMounted(() => { handleWidth(); }); -const emit = defineEmits(['changeTitle']); +// const emit = defineEmits(['changeTitle']); const props = defineProps({ titles: { type: Array, @@ -109,7 +109,7 @@ function handleTitleBtn(t = -1) { } function handleTitleClick(val) { activeTitle.value = val; - emit('changeTitle', val); + // emit('changeTitle', val); router.push({ name: val }); } diff --git a/src/layouts/index.vue b/src/layouts/index.vue index ff9280a..25495fd 100644 --- a/src/layouts/index.vue +++ b/src/layouts/index.vue @@ -1,6 +1,6 @@