mirror of
https://github.com/Chanzhaoyu/chatgpt-web.git
synced 2025-07-19 10:59:24 +00:00
fix: 移动端新建会话关闭侧边栏 (#813)
This commit is contained in:
@@ -18,6 +18,8 @@ const collapsed = computed(() => appStore.siderCollapsed)
|
||||
|
||||
function handleAdd() {
|
||||
chatStore.addHistory({ title: 'New Chat', uuid: Date.now(), isEdit: false })
|
||||
if (isMobile.value)
|
||||
appStore.setSiderCollapsed(true)
|
||||
}
|
||||
|
||||
function handleUpdateCollapsed() {
|
||||
|
Reference in New Issue
Block a user