修复代理路由详情认证配置 Tab:移除 PoW 配置(PoW 仅在 WAF 规则组中设置);保留 Basic Auth 保存能力;移除页头重复的「保存当前分区」按钮。

This commit is contained in:
ryan
2026-06-21 11:26:37 +08:00
parent e479ae75e6
commit 0f904b4b6d
8 changed files with 87 additions and 171 deletions
@@ -312,8 +312,6 @@ export function buildPayloadFromRoute(
cache_rules: route.cache_rule_list,
custom_headers: route.custom_header_list,
remark: route.remark || '',
pow_enabled: route.pow_enabled,
pow_config: JSON.stringify(route.pow_config),
basic_auth_enabled: route.basic_auth_enabled,
basic_auth_username: route.basic_auth_username,
basic_auth_password: route.basic_auth_password,
@@ -114,8 +114,6 @@ export function ProxyRouteCreateSheet({
cache_policy: 'url',
cache_rules: [],
custom_headers: [],
pow_enabled: false,
pow_config: '{}',
basic_auth_enabled: false,
remark: values.remark.trim(),
upstream_type: 'direct',