mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
feat: support random param and default config (#50)
This commit is contained in:
@@ -28,7 +28,9 @@ export function AntSwordTabContent({
|
||||
name="antSwordPass"
|
||||
render={({ field }) => (
|
||||
<FormItem className="gap-1">
|
||||
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.antSwordPass")}</FormLabel>
|
||||
<FormLabel className="h-6 flex items-center gap-1">
|
||||
{t("shellToolConfig.antSwordPass")} {t("optional")}
|
||||
</FormLabel>
|
||||
<Input {...field} placeholder={t("placeholders.input")} className="h-8" />
|
||||
</FormItem>
|
||||
)}
|
||||
@@ -49,7 +51,9 @@ export function AntSwordTabContent({
|
||||
name="headerValue"
|
||||
render={({ field }) => (
|
||||
<FormItem className="gap-1">
|
||||
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.headerValue")}</FormLabel>
|
||||
<FormLabel className="h-6 flex items-center gap-1">
|
||||
{t("shellToolConfig.headerValue")} {t("optional")}
|
||||
</FormLabel>
|
||||
<Input {...field} placeholder={t("shellToolConfig.headerValue")} className="h-8" />
|
||||
</FormItem>
|
||||
)}
|
||||
|
||||
@@ -28,7 +28,9 @@ export function BehinderTabContent({
|
||||
name="behinderPass"
|
||||
render={({ field }) => (
|
||||
<FormItem className="gap-1">
|
||||
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.behinderPass")}</FormLabel>
|
||||
<FormLabel className="h-6 flex items-center gap-1">
|
||||
{t("shellToolConfig.behinderPass")} {t("optional")}
|
||||
</FormLabel>
|
||||
<Input {...field} placeholder={t("placeholders.input")} className="h-8" />
|
||||
</FormItem>
|
||||
)}
|
||||
@@ -49,7 +51,9 @@ export function BehinderTabContent({
|
||||
name="headerValue"
|
||||
render={({ field }) => (
|
||||
<FormItem className="gap-1">
|
||||
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.headerValue")}</FormLabel>
|
||||
<FormLabel className="h-6 flex items-center gap-1">
|
||||
{t("shellToolConfig.headerValue")} {t("optional")}
|
||||
</FormLabel>
|
||||
<Input {...field} placeholder={t("shellToolConfig.headerValue")} className="h-8" />
|
||||
</FormItem>
|
||||
)}
|
||||
|
||||
@@ -28,7 +28,9 @@ export function CommandTabContent({
|
||||
name="commandParamName"
|
||||
render={({ field }) => (
|
||||
<FormItem className="gap-1">
|
||||
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.paramName")}</FormLabel>
|
||||
<FormLabel className="h-6 flex items-center gap-1">
|
||||
{t("shellToolConfig.paramName")} {t("optional")}
|
||||
</FormLabel>
|
||||
<FormControl>
|
||||
<Input {...field} placeholder={t("shellToolConfig.paramName")} className="h-8" />
|
||||
</FormControl>
|
||||
|
||||
@@ -29,7 +29,9 @@ export function GodzillaTabContent({
|
||||
name="godzillaPass"
|
||||
render={({ field }) => (
|
||||
<FormItem className="gap-1">
|
||||
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.pass")}</FormLabel>
|
||||
<FormLabel className="h-6 flex items-center gap-1">
|
||||
{t("shellToolConfig.pass")} {t("optional")}
|
||||
</FormLabel>
|
||||
<Input {...field} placeholder={t("shellToolConfig.pass")} className="h-8" />
|
||||
</FormItem>
|
||||
)}
|
||||
@@ -39,7 +41,9 @@ export function GodzillaTabContent({
|
||||
name="godzillaKey"
|
||||
render={({ field }) => (
|
||||
<FormItem className="gap-1">
|
||||
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.key")}</FormLabel>
|
||||
<FormLabel className="h-6 flex items-center gap-1">
|
||||
{t("shellToolConfig.key")} {t("optional")}
|
||||
</FormLabel>
|
||||
<Input {...field} placeholder={t("shellToolConfig.key")} className="h-8" />
|
||||
</FormItem>
|
||||
)}
|
||||
@@ -59,7 +63,9 @@ export function GodzillaTabContent({
|
||||
name="headerValue"
|
||||
render={({ field }) => (
|
||||
<FormItem className="gap-1">
|
||||
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.headerValue")}</FormLabel>
|
||||
<FormLabel className="h-6 flex items-center gap-1">
|
||||
{t("shellToolConfig.headerValue")} {t("optional")}
|
||||
</FormLabel>
|
||||
<Input {...field} placeholder={t("shellToolConfig.headerValue")} className="h-8" />
|
||||
</FormItem>
|
||||
)}
|
||||
|
||||
@@ -39,7 +39,9 @@ export function NeoRegTabContent({
|
||||
name="headerValue"
|
||||
render={({ field }) => (
|
||||
<FormItem className="gap-1">
|
||||
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.headerValue")}</FormLabel>
|
||||
<FormLabel className="h-6 flex items-center gap-1">
|
||||
{t("shellToolConfig.headerValue")} {t("optional")}
|
||||
</FormLabel>
|
||||
<Input {...field} placeholder={t("shellToolConfig.headerValue")} className="h-8" />
|
||||
</FormItem>
|
||||
)}
|
||||
|
||||
@@ -39,7 +39,9 @@ export function Suo5TabContent({
|
||||
name="headerValue"
|
||||
render={({ field }) => (
|
||||
<FormItem className="gap-1">
|
||||
<FormLabel className="h-6 flex items-center gap-1">{t("shellToolConfig.headerValue")}</FormLabel>
|
||||
<FormLabel className="h-6 flex items-center gap-1">
|
||||
{t("shellToolConfig.headerValue")} {t("optional")}
|
||||
</FormLabel>
|
||||
<Input {...field} placeholder={t("shellToolConfig.headerValue")} className="h-8" />
|
||||
</FormItem>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user