修复SS2022订阅下发错误的问题
Some checks failed
build / build (api, amd64, linux) (push) Failing after -51s
build / build (api, arm64, linux) (push) Failing after -51s
build / build (api.exe, amd64, windows) (push) Failing after -51s

This commit is contained in:
CN-JS-HuiBai
2026-04-17 23:36:46 +08:00
parent a3023fec39
commit 1a03d3d1fc
6 changed files with 226 additions and 121 deletions

View File

@@ -264910,7 +264910,7 @@ function dqt({ className: e }) {
e.change >= 0
? Q.jsx(iat, { className: "mr-1 h-3 w-3" })
: Q.jsx(eat, { className: "mr-1 h-3 w-3" }),
Math.abs(e.change),
Math.abs(Number(e.change || 0)).toFixed(2),
"%",
],
}),
@@ -264971,7 +264971,11 @@ function dqt({ className: e }) {
"font-medium",
e.change >= 0 ? "text-green-600" : "text-red-600",
),
children: [e.change >= 0 ? "+" : "", e.change, "%"],
children: [
e.change >= 0 ? "+" : "",
Number(e.change || 0).toFixed(2),
"%",
],
}),
],
}),
@@ -265063,7 +265067,7 @@ function dqt({ className: e }) {
e.change >= 0
? Q.jsx(iat, { className: "mr-1 h-3 w-3" })
: Q.jsx(eat, { className: "mr-1 h-3 w-3" }),
Math.abs(e.change),
Math.abs(Number(e.change || 0)).toFixed(2),
"%",
],
}),
@@ -265124,7 +265128,11 @@ function dqt({ className: e }) {
"font-medium",
e.change >= 0 ? "text-green-600" : "text-red-600",
),
children: [e.change >= 0 ? "+" : "", e.change, "%"],
children: [
e.change >= 0 ? "+" : "",
Number(e.change || 0).toFixed(2),
"%",
],
}),
],
}),
@@ -272190,8 +272198,8 @@ function HGt({ open: e, onOpenChange: t, result: n }) {
Q.jsx("div", { children: n.config.encryption || "无" }),
Q.jsx("div", { className: "text-muted-foreground", children: "发件人" }),
Q.jsx("div", {
children: n.config.from.address
? `${n.config.from.address}${n.config.from.name ? ` (${n.config.from.name})` : ""}`
children: (n.config.from?.address || n.config.from_address)
? `${n.config.from?.address || n.config.from_address}${n.config.from?.name || n.config.from_name ? ` (${n.config.from?.name || n.config.from_name})` : ""}`
: "未设置",
}),
Q.jsx("div", { className: "text-muted-foreground", children: "用户名" }),