Compare commits

...

3 Commits

Author SHA1 Message Date
bjzhoujian
7368fa7a8c 调试回车导致弹窗闪动 2025-11-25 11:57:07 +08:00
joshen
d09cbfac5f Merge remote-tracking branch 'aliyun/ebiz-uat-2025-11-06' into ebiz-uat-2025-11-06 2025-11-25 11:03:24 +08:00
bjzhoujian
fd903d0974 调试回车导致弹窗闪动 2025-11-25 10:06:21 +08:00
2 changed files with 4 additions and 4 deletions

View File

@@ -2,15 +2,13 @@
<div> <div>
<!-- 最大化状态的弹窗 --> <!-- 最大化状态的弹窗 -->
<el-dialog <el-dialog
v-show=" windowState === 'maximized'" v-if="dialogVisible && windowState === 'maximized'"
v-if="dialogVisible"
:visible="true" :visible="true"
:close-on-click-modal="false" :close-on-click-modal="false"
:show-close="true" :show-close="true"
@close="onClose" @close="onClose"
class="case-expert-dialog" class="case-expert-dialog"
:modal="false" :modal="false"
:append-to-body="true"
:fullscreen="false" :fullscreen="false"
top="10vh" top="10vh"
v-resizeable v-resizeable
@@ -595,6 +593,7 @@ closeMinimizedWindow() {
// 处理加载状态 // 处理加载状态
handleLoading(status) { handleLoading(status) {
console.log('handleLoading'+status);
this.isLoading = status; this.isLoading = status;
}, },

View File

@@ -5,7 +5,7 @@
type="textarea" type="textarea"
class="input-placeholder" class="input-placeholder"
placeholder="有问题,尽管问" placeholder="有问题,尽管问"
@keyup.enter.native="handleSend" @keyup.enter.native.prevent="handleSend"
:disabled="disabled" :disabled="disabled"
:autosize="{ minRows: 2, maxRows: 4}" :autosize="{ minRows: 2, maxRows: 4}"
resize="none" resize="none"
@@ -57,6 +57,7 @@ export default {
}, },
methods: { methods: {
handleSend() { handleSend() {
console.log('handleSend');
if (!this.inputContent.trim() || this.disabled) return if (!this.inputContent.trim() || this.disabled) return
// 添加用户消息到列表 // 添加用户消息到列表
const userMessage = { const userMessage = {