rht02261216

This commit is contained in:
Rao 2025-02-26 12:16:24 +08:00
parent 35c9fab24b
commit fa7edff855
2 changed files with 2 additions and 7 deletions

View File

@ -53,7 +53,7 @@ const HeroSection = () => {
useEffect(() => {
const count = countNonZeroValues(statistics);
console.log(count);
//console.log(count);
setCountStatistics(count);
}, [statistics]);
return (

View File

@ -2,7 +2,6 @@ import { api } from "@nice/client/";
import { Checkbox, Form } from "antd";
import { TermDto } from "@nice/common";
import { useCallback, useEffect, useState } from "react";
export default function TermParentSelector({
value,
onChange,
@ -13,11 +12,7 @@ export default function TermParentSelector({
domainId,
style,
}: any) {
const utils = api.useUtils();
const [selectedValues, setSelectedValues] = useState<string[]>([]); // 用于存储选中的值
const [termsData, setTermsData] = useState<any[]>([]);
const {
data,
isLoading,