Merge pull request #11139 from dataease/pr@dev-v2_st

fix(系统设置): 点击对话按钮报错
This commit is contained in:
dataeaseShu 2024-07-24 11:21:26 +08:00 committed by GitHub
commit 62c2b8f0a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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