整合自定义 json

This commit is contained in:
2025-10-26 02:36:51 +08:00
parent b38c5d451d
commit e16b47c2bc
2 changed files with 14 additions and 4 deletions

View File

@@ -507,6 +507,12 @@ const RelayStationManager: React.FC<RelayStationManagerProps> = ({ onBack }) =>
</Button>
</DialogTrigger>
<DialogContent className="sm:max-w-[900px] max-h-[90vh] overflow-y-auto">
<DialogHeader>
<DialogTitle>{t('relayStation.createTitle')}</DialogTitle>
<DialogDescription>
{t('relayStation.description')}
</DialogDescription>
</DialogHeader>
<CreateStationDialog
onSuccess={() => {
setShowCreateDialog(false);
@@ -766,6 +772,12 @@ const RelayStationManager: React.FC<RelayStationManagerProps> = ({ onBack }) =>
{selectedStation && (
<Dialog open={showEditDialog} onOpenChange={setShowEditDialog}>
<DialogContent className="sm:max-w-[900px] max-h-[90vh] overflow-y-auto">
<DialogHeader>
<DialogTitle>{t('relayStation.editTitle')}</DialogTitle>
<DialogDescription>
{t('relayStation.description')}
</DialogDescription>
</DialogHeader>
<EditStationDialog
station={selectedStation}
onSuccess={() => {