refactor(ui): change serverVersion field localtion

This commit is contained in:
ReaJason
2026-01-18 23:49:41 +08:00
parent 4955c9d4a2
commit 302e8fbb8f
11 changed files with 154 additions and 122 deletions
@@ -7,7 +7,6 @@ import { TabsContent } from "@/components/ui/tabs";
import type { MemShellFormSchema } from "@/types/schema";
import { OptionalClassFormField } from "./classname-field";
import { ShellTypeFormField } from "./shelltype-field";
import { UrlPatternFormField } from "./urlpattern-field";
export function Suo5TabContent({
form,
@@ -23,10 +22,7 @@ export function Suo5TabContent({
<TabsContent value={tabValue}>
<Card>
<CardContent className="space-y-2 mt-4">
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
<ShellTypeFormField form={form} shellTypes={shellTypes} />
<UrlPatternFormField form={form} />
</div>
<ShellTypeFormField form={form} shellTypes={shellTypes} />
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
<Controller
control={form.control}