From 498837ebc6da6b5fd24581f740452cd6eb144757 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Tue, 23 Jan 2024 11:16:23 +0800 Subject: [PATCH] feat: --- ui/src/components/ai-chat/index.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index a922eef7d..c1bf639d8 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -214,6 +214,14 @@ const prologueList = computed(() => { }) const isMdArray = (val: string) => val.match(/^-\s.*/m) +watch( + () => props.data, + () => { + chartOpenId.value = '' + }, + { deep: true } +) + watch( () => props.record, (value) => {