mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-06 17:36:42 +08:00
Compare commits
3 Commits
251114-fea
...
7368fa7a8c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7368fa7a8c | ||
|
|
d09cbfac5f | ||
|
|
fd903d0974 |
@@ -2,15 +2,13 @@
|
||||
<div>
|
||||
<!-- 最大化状态的弹窗 -->
|
||||
<el-dialog
|
||||
v-show=" windowState === 'maximized'"
|
||||
v-if="dialogVisible"
|
||||
v-if="dialogVisible && windowState === 'maximized'"
|
||||
:visible="true"
|
||||
:close-on-click-modal="false"
|
||||
:show-close="true"
|
||||
@close="onClose"
|
||||
class="case-expert-dialog"
|
||||
:modal="false"
|
||||
:append-to-body="true"
|
||||
:fullscreen="false"
|
||||
top="10vh"
|
||||
v-resizeable
|
||||
@@ -595,6 +593,7 @@ closeMinimizedWindow() {
|
||||
|
||||
// 处理加载状态
|
||||
handleLoading(status) {
|
||||
console.log('handleLoading'+status);
|
||||
this.isLoading = status;
|
||||
},
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
type="textarea"
|
||||
class="input-placeholder"
|
||||
placeholder="有问题,尽管问"
|
||||
@keyup.enter.native="handleSend"
|
||||
@keyup.enter.native.prevent="handleSend"
|
||||
:disabled="disabled"
|
||||
:autosize="{ minRows: 2, maxRows: 4}"
|
||||
resize="none"
|
||||
@@ -57,6 +57,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
handleSend() {
|
||||
console.log('handleSend');
|
||||
if (!this.inputContent.trim() || this.disabled) return
|
||||
// 添加用户消息到列表
|
||||
const userMessage = {
|
||||
|
||||
Reference in New Issue
Block a user