chore: auto-fix lint & formatting [skip ci]

This commit is contained in:
github-actions[bot] 2026-08-26 16:39:02 +00:00
parent c75567cf15
commit 1375db9a20
15 changed files with 160 additions and 88 deletions

View file

@ -202,7 +202,9 @@
:placeholder="t('routeEditor.threadPlaceholder')"
/>
</template>
<template v-else-if="form.logPlatform === 'telegram' || form.logPlatform === 'feishu'">
<template
v-else-if="form.logPlatform === 'telegram' || form.logPlatform === 'feishu'"
>
<input
v-model="form.logChatId"
type="text"

View file

@ -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>

View file

@ -287,7 +287,12 @@ watch(
? r.targets.map((tg) => ({
...blankTarget(),
...tg,
platform: tg.platform === "telegram" ? "telegram" : tg.platform === "feishu" ? "feishu" : "discord",
platform:
tg.platform === "telegram"
? "telegram"
: tg.platform === "feishu"
? "feishu"
: "discord",
}))
: [blankTarget()];
if (r?.ast) {