mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-04 01:06:36 +08:00
fix: increase kcp tunnel bandwidth limit and fix modal backgrounds
This commit is contained in:
@@ -5401,7 +5401,7 @@ export default function ForwardPage() {
|
||||
<ModalContent>
|
||||
{(onClose) => (
|
||||
<>
|
||||
<ModalHeader className="flex flex-col gap-1 bg-content1 border-b border-divider">
|
||||
<ModalHeader className="flex flex-col gap-1 border-b border-divider">
|
||||
<h2 className="text-xl font-bold">规则诊断结果</h2>
|
||||
{currentDiagnosisForward && (
|
||||
<div className="flex items-center gap-2 min-w-0">
|
||||
@@ -5943,7 +5943,7 @@ export default function ForwardPage() {
|
||||
</div>
|
||||
)}
|
||||
</ModalBody>
|
||||
<ModalFooter className="bg-transparent border-t border-divider">
|
||||
<ModalFooter className="border-t border-divider">
|
||||
<Button variant="light" onPress={onClose}>
|
||||
关闭
|
||||
</Button>
|
||||
|
||||
@@ -2184,27 +2184,25 @@ export default function TunnelPage() {
|
||||
<h3 className="text-lg font-semibold">入口配置</h3>
|
||||
|
||||
<div className="space-y-2">
|
||||
<Select
|
||||
disabledKeys={[
|
||||
...nodes
|
||||
.filter(
|
||||
(node) =>
|
||||
node.status !== 1 &&
|
||||
!(
|
||||
isEdit &&
|
||||
form.inNodeId.some(
|
||||
(ct) => ct.nodeId === node.id,
|
||||
)
|
||||
),
|
||||
)
|
||||
.map((node) => node.id.toString()),
|
||||
...(form.outNodeId || []).map((ct) =>
|
||||
ct.nodeId.toString(),
|
||||
),
|
||||
...getSelectedChainNodeIds().map((id) =>
|
||||
id.toString(),
|
||||
),
|
||||
]}
|
||||
<Select
|
||||
disabledKeys={[
|
||||
...nodes
|
||||
.filter(
|
||||
(node) =>
|
||||
node.status !== 1 &&
|
||||
!(
|
||||
isEdit &&
|
||||
form.inNodeId.some(
|
||||
(ct) => ct.nodeId === node.id,
|
||||
)
|
||||
),
|
||||
)
|
||||
.map((node) => node.id.toString()),
|
||||
...(form.outNodeId || []).map((ct) =>
|
||||
ct.nodeId.toString(),
|
||||
),
|
||||
...getSelectedChainNodeIds().map((id) => id.toString()),
|
||||
]}
|
||||
errorMessage={errors.inNodeId}
|
||||
isInvalid={!!errors.inNodeId}
|
||||
label="入口节点"
|
||||
@@ -3766,7 +3764,7 @@ export default function TunnelPage() {
|
||||
</div>
|
||||
)}
|
||||
</ModalBody>
|
||||
<ModalFooter className="bg-transparent border-t border-divider">
|
||||
<ModalFooter className="border-t border-divider">
|
||||
<Button variant="light" onPress={onClose}>
|
||||
关闭
|
||||
</Button>
|
||||
@@ -3993,3 +3991,5 @@ export default function TunnelPage() {
|
||||
</AnimatedPage>
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user