fix(web): add discord option for bind code generation (#184)

This commit is contained in:
Fodesu
2026-03-04 21:49:22 +08:00
committed by GitHub
parent 711cee7682
commit 4d5c554014
3 changed files with 5 additions and 1 deletions
+2
View File
@@ -607,12 +607,14 @@
"noAvailableTypes": "All platform types have been configured",
"types": {
"feishu": "Feishu",
"discord": "Discord",
"telegram": "Telegram",
"web": "Web",
"local": "Local"
},
"typesShort": {
"feishu": "FS",
"discord": "DC",
"telegram": "TG",
"web": "Web",
"local": "CLI"
+2
View File
@@ -603,12 +603,14 @@
"noAvailableTypes": "所有平台类型均已配置",
"types": {
"feishu": "飞书",
"discord": "Discord",
"telegram": "Telegram",
"web": "Web",
"local": "本地"
},
"typesShort": {
"feishu": "飞",
"discord": "DC",
"telegram": "TG",
"web": "Web",
"local": "CLI"
+1 -1
View File
@@ -303,7 +303,7 @@ function platformLabel(platformKey: string): string {
}
const platformOptions = computed(() => {
const options = new Set<string>(['telegram', 'feishu'])
const options = new Set<string>(['telegram', 'feishu', 'discord'])
for (const identity of identities.value) {
const platform = identity.channel.trim()
if (platform) {