mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 19:06:43 +08:00
Compare commits
3 Commits
251114-fea
...
7368fa7a8c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7368fa7a8c | ||
|
|
d09cbfac5f | ||
|
|
fd903d0974 |
@@ -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;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user