From 3ee6af7027906a0ff1cd030e863560429325ae9c Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sat, 20 Dec 2025 15:38:01 +0800 Subject: [PATCH] feat: add route watcher for viewMode changes in VerticalHeader.vue - Introduced a watcher to monitor changes in customizer.viewMode, automatically redirecting to the homepage when switching from 'chat' to 'bot' mode. - Updated imports to include useRoute from vue-router for routing functionality. - Adjusted button styles for improved layout consistency in bot mode. --- .../full/vertical-header/VerticalHeader.vue | 30 +++++++++++++------ 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue b/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue index 14a8867a0..2b2962281 100644 --- a/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue +++ b/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue @@ -1,5 +1,5 @@