fix(系统设置): 点击对话按钮报错

This commit is contained in:
dataeaseShu 2024-07-24 11:20:59 +08:00
parent f0972886af
commit d17fd261fe

View File

@ -152,7 +152,7 @@ const handleShowLeft = val => {
const copilotChatLoading = ref(false)
const inputRef = ref()
const queryAnswer = (event?: KeyboardEvent) => {
if (event.keyCode === 13) {
if (event?.keyCode === 13) {
event.preventDefault()
}
let copyAuestionInput = questionInput.value