Compare commits
1 Commits
message-ou
...
feature
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7a8dc393b5 |
@@ -18,6 +18,8 @@ const collapsed = computed(() => appStore.siderCollapsed)
|
|||||||
|
|
||||||
function handleAdd() {
|
function handleAdd() {
|
||||||
chatStore.addHistory({ title: 'New Chat', uuid: Date.now(), isEdit: false })
|
chatStore.addHistory({ title: 'New Chat', uuid: Date.now(), isEdit: false })
|
||||||
|
if (isMobile.value)
|
||||||
|
appStore.setSiderCollapsed(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleUpdateCollapsed() {
|
function handleUpdateCollapsed() {
|
||||||
|
|||||||
Reference in New Issue
Block a user