From cab656cbe5592137c5b7289d0d45facc31fab15a Mon Sep 17 00:00:00 2001 From: rowthan <12638456+rowthan@users.noreply.github.com> Date: Thu, 15 Aug 2024 19:03:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BD=91=E9=A1=B5=E6=8C=87=E7=BA=B9?= =?UTF-8?q?=E8=AF=86=E5=88=AB=E5=BC=80=E5=85=B3=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/components/form/UrlRuleForm.tsx | 11 +++++------ apps/web/components/setting/Advance.tsx | 10 +++++++++- apps/web/components/setting/LinkedRule.tsx | 5 ++--- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/apps/web/components/form/UrlRuleForm.tsx b/apps/web/components/form/UrlRuleForm.tsx index fa4d1ac1..b8ec9186 100644 --- a/apps/web/components/form/UrlRuleForm.tsx +++ b/apps/web/components/form/UrlRuleForm.tsx @@ -1,12 +1,11 @@ -import React, {type ReactNode, useEffect, useState} from 'react'; -import {Form, FormControl, FormField, FormItem, FormLabel, FormMessage} from "../../@/components/ui/form"; -import {Input} from "../../@/components/ui/input"; -import {DialogFooter} from "../../@/components/ui/dialog"; -import {Button} from "../../@/components/ui/button"; +import React, {type ReactNode, useState} from 'react'; +import {Form, FormControl, FormField, FormItem, FormLabel, FormMessage} from "@/components/ui/form"; +import {Input} from "@/components/ui/input"; +import {DialogFooter} from "@/components/ui/dialog"; +import {Button} from "@/components/ui/button"; import {useForm} from "react-hook-form"; import * as z from "zod"; import {zodResolver} from "@hookform/resolvers/zod"; -import CloudStat from "../cloud/CloudStat"; interface Props { children?: ReactNode; diff --git a/apps/web/components/setting/Advance.tsx b/apps/web/components/setting/Advance.tsx index 65f02c76..aa5be9ce 100644 --- a/apps/web/components/setting/Advance.tsx +++ b/apps/web/components/setting/Advance.tsx @@ -23,7 +23,15 @@ export default function Advance() { /> + 对网页生成指纹,不同URL + + 指向同一网页的依据 + + } right={ { update({ diff --git a/apps/web/components/setting/LinkedRule.tsx b/apps/web/components/setting/LinkedRule.tsx index 53e7a1a8..28cb33f6 100644 --- a/apps/web/components/setting/LinkedRule.tsx +++ b/apps/web/components/setting/LinkedRule.tsx @@ -1,6 +1,6 @@ import {type ReactNode} from 'react'; -import useSettingConfig from "../../hooks/table/useSettingConfig"; -import {Button} from "../../@/components/ui/button"; +import useSettingConfig from "hooks/table/useSettingConfig"; +import {Button} from "@/components/ui/button"; import BasicSettingLine from "./BasicSettingLine"; import { Dialog, @@ -11,7 +11,6 @@ import { DialogTitle, DialogTrigger } from '@/components/ui/dialog'; -import {Label} from "../../@/components/ui/label"; import UrlRuleForm from "../form/UrlRuleForm"; interface Props {