fix: 使用is_chatting的使用,is_chatting=true的时候才会显示对话页
This commit is contained in:
parent
f06a3fb49e
commit
25111a9b03
|
|
@ -91,7 +91,7 @@ export default function ChatPage() {
|
|||
setIsNewThread(false);
|
||||
// if (!shouldStayOnNewRoute) {
|
||||
// Keep /new in history so router.back() can return to it.
|
||||
router.replace(`/workspace/chats/${currentThreadId}`);
|
||||
router.replace(`/workspace/chats/${currentThreadId}?is_chatting=true`);
|
||||
// }
|
||||
// history.pushState(null, "", pathOfThread(currentThreadId));
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue