mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-09 00:56:37 +08:00
[优化] 界面优化
This commit is contained in:
@@ -455,7 +455,7 @@ function RuleEntryModal({
|
|||||||
取消
|
取消
|
||||||
</SecondaryButton>
|
</SecondaryButton>
|
||||||
<PrimaryButton type="button" disabled={pending} onClick={onSubmit}>
|
<PrimaryButton type="button" disabled={pending} onClick={onSubmit}>
|
||||||
{pending ? '处理中...' : '添加到草稿'}
|
{pending ? '处理中...' : '添加'}
|
||||||
</PrimaryButton>
|
</PrimaryButton>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
@@ -465,8 +465,8 @@ function RuleEntryModal({
|
|||||||
<ResourceField label="类型" container="div">
|
<ResourceField label="类型" container="div">
|
||||||
<div className="grid grid-cols-2 gap-3">
|
<div className="grid grid-cols-2 gap-3">
|
||||||
{[
|
{[
|
||||||
{ value: 'whitelist', label: '白名单' },
|
|
||||||
{ value: 'blacklist', label: '黑名单' },
|
{ value: 'blacklist', label: '黑名单' },
|
||||||
|
{ value: 'whitelist', label: '白名单' },
|
||||||
].map((option) => (
|
].map((option) => (
|
||||||
<button
|
<button
|
||||||
key={option.value}
|
key={option.value}
|
||||||
|
|||||||
Reference in New Issue
Block a user