mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-02 06:56:36 +08:00
[功能] 重构代理路由页面,优化输入组件和样式
This commit is contained in:
@@ -1848,20 +1848,20 @@ export function ProxyRoutesPage() {
|
||||
?.message}
|
||||
</p>
|
||||
)}
|
||||
|
||||
{index === 0 ? (
|
||||
<div>
|
||||
<span className="sr-only">Origin Path / Query</span>
|
||||
<HeroTextInput
|
||||
aria-label="Origin Path / Query"
|
||||
placeholder="/api"
|
||||
{...form.register('origin_uri')}
|
||||
/>
|
||||
</div>
|
||||
) : null}
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
|
||||
<ResourceField
|
||||
label="Origin Path / Query"
|
||||
error={form.formState.errors.origin_uri?.message}
|
||||
>
|
||||
<HeroTextInput
|
||||
aria-label="Origin Path / Query"
|
||||
placeholder="/api"
|
||||
{...form.register('origin_uri')}
|
||||
/>
|
||||
</ResourceField>
|
||||
</div>
|
||||
</ProxyRuleSection>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user