mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-22 16:11:29 +00:00
chore: auto-fix lint & formatting [skip ci]
This commit is contained in:
parent
c75567cf15
commit
1375db9a20
15 changed files with 160 additions and 88 deletions
|
|
@ -34,7 +34,13 @@
|
|||
: 'bg-accent'
|
||||
"
|
||||
></span>
|
||||
{{ tg.platform === "telegram" ? "Telegram" : tg.platform === "feishu" ? t("route.feishu") : "Discord" }}
|
||||
{{
|
||||
tg.platform === "telegram"
|
||||
? "Telegram"
|
||||
: tg.platform === "feishu"
|
||||
? t("route.feishu")
|
||||
: "Discord"
|
||||
}}
|
||||
</span>
|
||||
<span v-if="route.fallback" class="route-badge route-badge-fallback">{{
|
||||
t("route.fallback")
|
||||
|
|
@ -59,12 +65,16 @@
|
|||
<div v-for="(tg, i) in route.targets" :key="i" class="route-target">
|
||||
<div class="route-target-row">
|
||||
<span class="route-target-label">
|
||||
<template v-if="tg.platform === 'telegram' || tg.platform === 'feishu'">{{ t("route.chat") }}</template>
|
||||
<template v-if="tg.platform === 'telegram' || tg.platform === 'feishu'">{{
|
||||
t("route.chat")
|
||||
}}</template>
|
||||
<template v-else-if="tg.threadId">{{ t("route.thread") }}</template>
|
||||
<template v-else>{{ t("route.channel") }}</template>
|
||||
</span>
|
||||
<code class="route-target-id">
|
||||
<template v-if="tg.platform === 'telegram' || tg.platform === 'feishu'">{{ tg.chatId }}</template>
|
||||
<template v-if="tg.platform === 'telegram' || tg.platform === 'feishu'">{{
|
||||
tg.chatId
|
||||
}}</template>
|
||||
<template v-else-if="tg.threadId">{{ tg.threadId }}</template>
|
||||
<template v-else>{{ tg.channelId }}</template>
|
||||
</code>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue