From 96d13ee431fef2fb5eaba05654cd7e0216ce36ab Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期五, 28 六月 2024 16:53:26 +0800
Subject: [PATCH] 新建聊天室

---
 src/views/project/ch/home/component/waterRight/top.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/project/ch/home/component/waterRight/top.vue b/src/views/project/ch/home/component/waterRight/top.vue
index 0e707fc..bf73d7e 100644
--- a/src/views/project/ch/home/component/waterRight/top.vue
+++ b/src/views/project/ch/home/component/waterRight/top.vue
@@ -26,16 +26,16 @@
 import { reactive, ref } from 'vue';
 import PlayBar from '/@/components/chat/components/playBar/PlayBar.vue';
 import router from '/@/router';
+import { activeChatRoom } from '/@/stores/chatRoom';
 const emits = defineEmits(['sendClick']);
 const inputValue = ref('');
 
 const sendClick = () => {
 	if(!inputValue.value) return;
+	activeChatRoom.value.title = inputValue.value;
 	router.push({
 		name: 'AskAnswer',
-		state: {
-			inputValue: inputValue.value,
-		},
+	
 	});
 };
 let state = reactive({

--
Gitblit v1.9.3