rht02261216
This commit is contained in:
parent
35c9fab24b
commit
fa7edff855
|
@ -53,7 +53,7 @@ const HeroSection = () => {
|
|||
|
||||
useEffect(() => {
|
||||
const count = countNonZeroValues(statistics);
|
||||
console.log(count);
|
||||
//console.log(count);
|
||||
setCountStatistics(count);
|
||||
}, [statistics]);
|
||||
return (
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue