feat: support probe mode

This commit is contained in:
ReaJason
2025-12-08 01:43:41 +08:00
parent 36236653bd
commit 92e8b83313
78 changed files with 929 additions and 51 deletions
@@ -375,6 +375,22 @@ export default function MainConfigCard({
</FormItem>
)}
/>
<FormField
control={form.control}
name="probe"
render={({ field }) => (
<FormItem className="flex items-center space-x-2 space-y-0">
<FormControl>
<Switch
id="probe"
checked={field.value}
onCheckedChange={field.onChange}
/>
</FormControl>
<Label htmlFor="probe">{t("common:probe")}</Label>
</FormItem>
)}
/>
<FormField
control={form.control}
name="byPassJavaModule"
+1 -1
View File
@@ -1,7 +1,7 @@
{
"about": "About",
"basicInfo": "BasicInfo",
"byPassJavaModule": "Bypass JavaModule",
"byPassJavaModule": "BypassModule",
"cancel": "Cancel",
"copyLabelSuccess": "Copy {{label}} successfully",
"copySuccess": "Copy successfully",
+1 -1
View File
@@ -1,7 +1,7 @@
{
"about": "关于",
"basicInfo": "基本信息",
"byPassJavaModule": "绕过 Java 模块限制",
"byPassJavaModule": "绕过模块限制",
"cancel": "取消",
"copyLabelSuccess": "复制 {{label}} 成功",
"copySuccess": "复制成功",