读取策略配置
\n正在读取登录状态、账号配置和当前状态。
\n \nFrom 6594f559cbf276e1987942be974ed3946c77f270 Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Fri, 19 Jun 2026 01:12:34 +0800 Subject: [PATCH] Rename plugin auto option to enabled --- tests/strategy_switch_worker_validation.mjs | 5 +++-- web/strategy-switch-console/index.html | 12 ++++++------ web/strategy-switch-console/page_asset.js | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/tests/strategy_switch_worker_validation.mjs b/tests/strategy_switch_worker_validation.mjs index ae0508f..8c444fc 100644 --- a/tests/strategy_switch_worker_validation.mjs +++ b/tests/strategy_switch_worker_validation.mjs @@ -58,8 +58,9 @@ assert.ok(indexHtml.includes('runtimeTargetEnabled: "启用正式运行"')); assert.ok(indexHtml.includes('runtimeTargetDisabled: "停用正式运行"')); assert.ok(indexHtml.includes('runtimeTargetMode: "Account status"')); assert.ok(indexHtml.includes('pluginMode: "插件启用范围"')); -assert.ok(indexHtml.includes('pluginModeAuto: "按策略默认"')); -assert.ok(indexHtml.includes('pluginModeNone: "完全禁用"')); +assert.ok(indexHtml.includes('pluginModeAuto: "启用插件"')); +assert.ok(indexHtml.includes('pluginModeNone: "禁用插件"')); +assert.ok(indexHtml.includes('pluginModeAuto: "Enabled"')); assert.ok(indexHtml.includes('pluginMode: "Plugin scope"')); assert.ok(indexHtml.includes('reservedCashDefault')); assert.ok(indexHtml.includes('paper: "模拟"')); diff --git a/web/strategy-switch-console/index.html b/web/strategy-switch-console/index.html index 217220b..0e0fdb4 100644 --- a/web/strategy-switch-console/index.html +++ b/web/strategy-switch-console/index.html @@ -796,7 +796,7 @@
选平台、目标账号和策略,一次执行完成切换。
\n正在读取登录状态、账号配置和当前状态。
\n \n登录后查看账号配置。
\n\n登录后才可执行切换。
\n \n选平台、目标账号和策略,一次执行完成切换。
\n正在读取登录状态、账号配置和当前状态。
\n \n登录后查看账号配置。
\n\n登录后才可执行切换。
\n \n