wangyf10 2 dagar sedan
förälder
incheckning
ef239e1d29
1 ändrade filer med 1 tillägg och 21 borttagningar
  1. 1 21
      yusys-ai-front/src/App.vue

+ 1 - 21
yusys-ai-front/src/App.vue

@@ -2,7 +2,7 @@
 import { ref, reactive, nextTick, watch, onMounted, onBeforeUnmount, computed } from 'vue'
 import { useAgui } from './useAgui.js'
 
-const { messages, running, error, sessionId, send, newChat } = useAgui()
+const { messages, running, error, send, newChat } = useAgui()
 
 const agents = reactive([
   { name: 'DemoAgentAGUI', url: '/agent-api/DemoAgentAGUI' },
@@ -96,12 +96,6 @@ watch(
           <span class="new-chat-icon">+</span> 开启新对话
         </button>
       </div>
-
-      <div class="sidebar-footer">
-        <div class="session-tag" :title="sessionId">
-          会话 ID:{{ sessionId.slice(0, 8) }}
-        </div>
-      </div>
     </aside>
 
     <!-- 右侧主区 -->
@@ -328,20 +322,6 @@ watch(
   flex-shrink: 0;
 }
 
-.sidebar-footer {
-  padding: 14px 16px;
-  border-top: 1px solid #ebebec;
-}
-
-.session-tag {
-  font-size: 11.5px;
-  color: #9ca3af;
-  font-family: ui-monospace, monospace;
-  white-space: nowrap;
-  overflow: hidden;
-  text-overflow: ellipsis;
-}
-
 /* ── 右侧主区 ── */
 .main {
   flex: 1;