feat: 创建新对话后更新左侧列表
This commit is contained in:
@@ -60,6 +60,7 @@
|
||||
import { useI18n } from 'vue-i18n'
|
||||
import { getProjectList } from '@/api/agent'
|
||||
import { FormatDate } from '@/utils/tools'
|
||||
import MyEvent from '@/utils/myEvent'
|
||||
const { t: $t } = useI18n()
|
||||
const route = useRoute()
|
||||
const router = useRouter()
|
||||
@@ -154,7 +155,8 @@
|
||||
earlierChatList.value.push(obj)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
MyEvent.add('updateProjectList', GetProjectList)
|
||||
GetProjectList()
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user