feat: 初始化素材中心页面路由结构
This commit is contained in:
@ -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({
|
||||
|
||||
Reference in New Issue
Block a user