Revert "feat: front-end use RunningMode enum instead of string literals"

This reverts commit 7280635741.
This commit is contained in:
Tunglies
2025-03-26 22:17:29 +08:00
parent 7280635741
commit ff4101fa47
5 changed files with 4 additions and 10 deletions

View File

@@ -147,7 +147,7 @@ export const ProxyTunCard: FC = () => {
const { enable_system_proxy, enable_tun_mode } = verge ?? {};
// 是否以sidecar模式运行
const isSidecarMode = runningMode === RunningMode.Sidecar;
const isSidecarMode = runningMode === "Sidecar";
// 处理错误
const handleError = (err: Error) => {