diff --git a/easyflow-ui-admin/app/src/bootstrap.ts b/easyflow-ui-admin/app/src/bootstrap.ts index f3cfe54..b1dac52 100644 --- a/easyflow-ui-admin/app/src/bootstrap.ts +++ b/easyflow-ui-admin/app/src/bootstrap.ts @@ -1,11 +1,4 @@ import { createApp, watchEffect } from 'vue'; -import { - BubbleList, - Conversations, - Sender, - Thinking, - XMarkdown, -} from 'vue-element-plus-x'; import { registerAccessDirective } from '@easyflow/access'; import { @@ -49,12 +42,6 @@ async function bootstrap(namespace: string) { // 注册Element Plus提供的v-loading指令 app.directive('loading', ElLoading.directive); - app.component('ElBubbleList', BubbleList); - app.component('ElConversations', Conversations); - app.component('ElSender', Sender); - app.component('ElXMarkdown', XMarkdown); - app.component('ElThinking', Thinking); - // 注册EasyFlow提供的v-loading和v-spinning指令 registerLoadingDirective(app, { loading: false, // EasyFlow提供的v-loading指令和Element Plus提供的v-loading指令二选一即可,此处false表示不注册EasyFlow提供的v-loading指令 diff --git a/easyflow-ui-admin/app/src/components/chat/chat.vue b/easyflow-ui-admin/app/src/components/chat/chat.vue index 6856a7a..ab9c51a 100644 --- a/easyflow-ui-admin/app/src/components/chat/chat.vue +++ b/easyflow-ui-admin/app/src/components/chat/chat.vue @@ -1,5 +1,4 @@