feat: 初始化素材中心页面路由结构

This commit is contained in:
rd
2025-08-22 11:48:41 +08:00
parent f53b697df1
commit 0d5cb7ba38
19 changed files with 389 additions and 25 deletions

View File

@ -5,6 +5,8 @@ import Conversations from '@/components/xt-chat/xt-conversations';
import SvgIcon from '@/components/svg-icon';
import { Button, Flex, Input } from 'ant-design-vue';
import DeleteChatModal from './delete-chat-modal.vue';
import { handleUserHome } from '@/utils/user';
import { useRouter } from 'vue-router';
export default {
@ -48,12 +50,7 @@ export default {
};
const handleActiveChange = (item) => {
const { id } = item;
router.push({
name: 'Home',
params: {
conversationId: id,
},
});
handleUserHome({ conversationId: id });
};
expose({