又改回来了嘻嘻
This commit is contained in:
@@ -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" },
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ const router = createRouter({
|
|||||||
{
|
{
|
||||||
path: 'aichat',
|
path: 'aichat',
|
||||||
name: 'aichat',
|
name: 'aichat',
|
||||||
redirect: '/',
|
component: () => import('@/views/aichat/AiChatView.vue'),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user