chore(build): 调整ai-chat-message组件的位置,减少对主包尺寸的影响
This commit is contained in:
2775
pages_tool/ai-chat/ai-chat-message.vue
Normal file
2775
pages_tool/ai-chat/ai-chat-message.vue
Normal file
File diff suppressed because it is too large
Load Diff
@@ -52,7 +52,12 @@ import { mapGetters, mapMutations } from 'vuex'
|
||||
import navigationHelper from '@/common/js/navigation';
|
||||
import { EventSafety } from '@/common/js/event-safety';
|
||||
|
||||
import aiChatMessage from './ai-chat-message.vue';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
aiChatMessage,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
initialMessages: [
|
||||
@@ -85,8 +90,7 @@ export default {
|
||||
// 事件处理器引用(用于清理)
|
||||
safeEventHandlers: new Map()
|
||||
}
|
||||
},
|
||||
|
||||
},
|
||||
computed: {
|
||||
...mapGetters([
|
||||
'globalAIKefuConfig'
|
||||
@@ -142,9 +146,6 @@ export default {
|
||||
this.cleanup()
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
methods: {
|
||||
// ========== 安全事件处理 ==========
|
||||
setupSafeEventListeners() {
|
||||
|
||||
Reference in New Issue
Block a user