panhui před 2 roky
rodič
revize
1e76c8517b
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      src/views/chat/layout/sider/index.vue

+ 2 - 2
src/views/chat/layout/sider/index.vue

@@ -19,8 +19,8 @@ const show = ref(false)
 const collapsed = computed(() => appStore.siderCollapsed)
 
 function handleAdd() {
-    emitter.emit('changeMask',true)
-    // chatStore.addHistory({ title: 'New Chat', uuid: Date.now(), isEdit: false, maskId: null })
+    // emitter.emit('changeMask',true)
+    chatStore.addHistory({ title: 'New Chat', uuid: Date.now(), isEdit: false, maskId: null })
     if (isMobile.value) appStore.setSiderCollapsed(true)
 }