refactor: 调整聊天组件为按需引入

- 移除 bootstrap 中 vue-element-plus-x 全局组件注册

- 在聊天与会话页面改为局部引入对应组件
This commit is contained in:
2026-03-11 22:06:14 +08:00
parent 373d7f8201
commit cac0fdf858
4 changed files with 7 additions and 15 deletions

View File

@@ -4,6 +4,7 @@ import type {ServerSentEventMessage} from 'fetch-event-stream';
import {computed, nextTick, onBeforeUnmount, onMounted, ref, watch} from 'vue';
import {useRoute} from 'vue-router';
import ElXMarkdown from 'vue-element-plus-x/es/XMarkdown/index.js';
import {IconifyIcon} from '@easyflow/icons';
import {$t} from '@easyflow/locales';