mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-10-02 05:59:49 +02:00
Add files via upload
This commit is contained in:
11 files changed
+990
-200
No files matched your search
@@ -1433,6 +1433,11 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
updateRoleSelectorDisplay();
|
||||
});
|
||||
|
||||
// 语言切换后刷新角色选择器显示(默认/自定义角色名)
|
||||
document.addEventListener('languagechange', () => {
|
||||
updateRoleSelectorDisplay();
|
||||
});
|
||||
|
||||
// 获取当前选中的角色(供chat.js使用)
|
||||
function getCurrentRole() {
|
||||
return currentRole || '';
|
||||
|
||||
Reference in new issue
Block a user