又改回来了嘻嘻
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 navItems = computed(() => [
|
||||
//{ label: t("appname.aichat"), to: "/aichat" },
|
||||
{ label: t("appname.aichat"), to: "/aichat" },
|
||||
{ label: t("appname.home"), to: "/" },
|
||||
// { label: t("appname.schedule"), to: "/schedule" },
|
||||
{ label: t("appname.calendar"), to: "/calendars" },
|
||||
|
||||
@@ -158,8 +158,8 @@ const router = createRouter({
|
||||
},
|
||||
{
|
||||
path: 'aichat',
|
||||
name: 'aichat',
|
||||
redirect: '/',
|
||||
name: 'aichat',
|
||||
component: () => import('@/views/aichat/AiChatView.vue'),
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -5,7 +5,7 @@ import { useUsersStore } from '@/stores/users'
|
||||
import { usePageTitle } from '@/composables/usePageTitle'
|
||||
import { scheduleApi } from '@/api/schedule'
|
||||
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'
|
||||
|
||||
usePageTitle('appname.home')
|
||||
@@ -201,8 +201,10 @@ onMounted(() => {
|
||||
</div>
|
||||
|
||||
<!-- AI 助手卡片 -->
|
||||
<!--
|
||||
<section class="mt-6 rounded-xl border border-gray-200 bg-white shadow-sm dark:border-dk-muted dark:bg-dk-card">
|
||||
<AiChatView embedded />
|
||||
</section>
|
||||
-->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user