mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat:
This commit is contained in:
parent
d5c3f04ce4
commit
51bc3e8a83
|
|
@ -49,7 +49,7 @@ const props = withDefaults(
|
|||
/**
|
||||
* 对话 记录id
|
||||
*/
|
||||
chartId?: string
|
||||
chartId: string
|
||||
/**
|
||||
* 下一条
|
||||
*/
|
||||
|
|
@ -66,7 +66,7 @@ const props = withDefaults(
|
|||
{}
|
||||
)
|
||||
|
||||
defineEmits(['update:chartId'])
|
||||
const emit = defineEmits(['update:chartId'])
|
||||
|
||||
const route = useRoute()
|
||||
const {
|
||||
|
|
@ -107,6 +107,12 @@ watch(
|
|||
}
|
||||
)
|
||||
|
||||
watch(visible, (bool) => {
|
||||
if (!bool) {
|
||||
emit('update:chartId', '')
|
||||
}
|
||||
})
|
||||
|
||||
const open = () => {
|
||||
getChatRecord()
|
||||
visible.value = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue