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 {