feat: update menu icons, add version in site titles

This commit is contained in:
RockYang
2024-04-01 18:20:00 +08:00
parent 95efbd5659
commit fbb216fe3b
19 changed files with 67 additions and 28 deletions

View File

@@ -451,6 +451,12 @@ const newChat = () => {
showLoginDialog.value = true
return;
}
const role = getRoleById(roleId.value)
if (role.key === 'gpt') {
showHello.value = true
} else {
showHello.value = false
}
// 已有新开的会话
if (newChatItem.value !== null && newChatItem.value['role_id'] === roles.value[0]['role_id']) {
return;