又改回来了嘻嘻

This commit is contained in:
2026-06-11 17:07:06 +08:00
parent 774020fe75
commit b0107f5c16
3 changed files with 6 additions and 4 deletions
@@ -52,7 +52,7 @@ const activeClass = "bg-blue-50 text-blue-600 dark:bg-dk-card dark:text-blue-400
const normalClass = "rounded-md px-3 py-2 text-sm font-medium text-gray-600 transition-colors hover:bg-gray-100 hover:text-gray-900 dark:text-dk-subtle dark:hover:bg-dk-card dark:hover:text-dk-text"; const normalClass = "rounded-md px-3 py-2 text-sm font-medium text-gray-600 transition-colors hover:bg-gray-100 hover:text-gray-900 dark:text-dk-subtle dark:hover:bg-dk-card dark:hover:text-dk-text";
const navItems = computed(() => [ const navItems = computed(() => [
//{ label: t("appname.aichat"), to: "/aichat" }, { label: t("appname.aichat"), to: "/aichat" },
{ label: t("appname.home"), to: "/" }, { label: t("appname.home"), to: "/" },
// { label: t("appname.schedule"), to: "/schedule" }, // { label: t("appname.schedule"), to: "/schedule" },
{ label: t("appname.calendar"), to: "/calendars" }, { label: t("appname.calendar"), to: "/calendars" },
+2 -2
View File
@@ -158,8 +158,8 @@ const router = createRouter({
}, },
{ {
path: 'aichat', path: 'aichat',
name: 'aichat', name: 'aichat',
redirect: '/', component: () => import('@/views/aichat/AiChatView.vue'),
}, },
], ],
}, },
+3 -1
View File
@@ -5,7 +5,7 @@ import { useUsersStore } from '@/stores/users'
import { usePageTitle } from '@/composables/usePageTitle' import { usePageTitle } from '@/composables/usePageTitle'
import { scheduleApi } from '@/api/schedule' import { scheduleApi } from '@/api/schedule'
import { purchaseApi } from '@/api/purchase' import { purchaseApi } from '@/api/purchase'
import AiChatView from '@/views/aichat/AiChatView.vue' //import AiChatView from '@/views/aichat/AiChatView.vue'
import { ref, computed, onMounted } from 'vue' import { ref, computed, onMounted } from 'vue'
usePageTitle('appname.home') usePageTitle('appname.home')
@@ -201,8 +201,10 @@ onMounted(() => {
</div> </div>
<!-- AI 助手卡片 --> <!-- AI 助手卡片 -->
<!--
<section class="mt-6 rounded-xl border border-gray-200 bg-white shadow-sm dark:border-dk-muted dark:bg-dk-card"> <section class="mt-6 rounded-xl border border-gray-200 bg-white shadow-sm dark:border-dk-muted dark:bg-dk-card">
<AiChatView embedded /> <AiChatView embedded />
</section> </section>
-->
</div> </div>
</template> </template>