From 00d600d4c8445b6729007f50ed7038deb84a13f6 Mon Sep 17 00:00:00 2001
From: zhangxiao <898441624@qq.com>
Date: 星期五, 09 八月 2024 20:36:46 +0800
Subject: [PATCH] fix: 修改上传问题

---
 src/views/sessionManager/index.vue |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/views/sessionManager/index.vue b/src/views/sessionManager/index.vue
index d66c825..b69652c 100644
--- a/src/views/sessionManager/index.vue
+++ b/src/views/sessionManager/index.vue
@@ -65,7 +65,7 @@
       </a-col>
       <a-col :span="18">
         <a-card class="center">
-          <div
+          <!-- <div
             v-if="sessionDetailList.length === 0"
             style="
               width: 90%;
@@ -140,11 +140,10 @@
                 </div>
               </a-col>
             </a-row>
-          </div>
+          </div> -->
           <a-scrollbar
             ref="scrollbar"
             id="home"
-            v-else
             class="chat-list"
             style="
               width: 90%;
@@ -228,6 +227,7 @@
                 allow-clear
                 show-word-limit
                 :disabled="chatDis"
+                :class="{ textItemAnswer: theme === 'dark' }"
                 :auto-size="{
                   minRows: 12,
                   maxRows: 5,
@@ -319,7 +319,7 @@
     IconTiktokColor,
   } from '@arco-design/web-vue/es/icon';
   import { useAppStore, useUserStore } from '@/store';
-  import { computed, nextTick, onMounted, reactive, ref } from 'vue';
+  import { computed, nextTick, onMounted, watch, reactive, ref } from 'vue';
 
   import { Message } from '@arco-design/web-vue';
   import { EventSourceParserStream } from 'eventsource-parser/stream';
@@ -488,10 +488,12 @@
   onMounted(() => {
     DialogList();
   });
+
   const appStore = useAppStore();
   const theme = computed(() => {
     return appStore.theme;
   });
+
   //鏂囧瓧鍔ㄦ�佽緭鍑�
   const startDisplayStr = () => {
     if (timer) {
@@ -590,6 +592,9 @@
         border-radius: 14px;
       }
     }
+    .textItemAnswer {
+      background-color: #373739;
+    }
 
     .center {
       position: relative;

--
Gitblit v1.8.0