adjust default values ​​and text
Some checks are pending
Build / windows (arm64) (push) Waiting to run
Build / windows (ia32) (push) Waiting to run
Build / windows (x64) (push) Waiting to run
Build / linux (arm64) (push) Waiting to run
Build / linux (x64) (push) Waiting to run
Build / macos (arm64) (push) Waiting to run
Build / macos (x64) (push) Waiting to run
Build / updater (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party) (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party-bin) (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party-electron) (push) Blocked by required conditions
Build / aur-release-updater (mihomo-party-electron-bin) (push) Blocked by required conditions
Build / aur-git-updater (push) Waiting to run

This commit is contained in:
xishang0128 2024-09-06 23:46:51 +08:00
parent 1e6b1681f7
commit 7908afd83b
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ export const defaultConfig: IAppConfig = {
export const defaultControledMihomoConfig: Partial<IMihomoConfig> = { export const defaultControledMihomoConfig: Partial<IMihomoConfig> = {
'external-controller': '127.0.0.1:9090', 'external-controller': '127.0.0.1:9090',
secret: '', secret: '',
ipv6: false, ipv6: true,
mode: 'rule', mode: 'rule',
'mixed-port': 7890, 'mixed-port': 7890,
'socks-port': 7891, 'socks-port': 7891,

View File

@ -31,8 +31,8 @@ const ProxyItem: React.FC<Props> = (props) => {
} }
function delayText(delay: number): string { function delayText(delay: number): string {
if (delay === -1) return 'Delay' if (delay === -1) return '测试'
if (delay === 0) return 'Timeout' if (delay === 0) return '超时'
return delay.toString() return delay.toString()
} }