rht02261216
This commit is contained in:
parent
35c9fab24b
commit
fa7edff855
|
@ -53,7 +53,7 @@ const HeroSection = () => {
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const count = countNonZeroValues(statistics);
|
const count = countNonZeroValues(statistics);
|
||||||
console.log(count);
|
//console.log(count);
|
||||||
setCountStatistics(count);
|
setCountStatistics(count);
|
||||||
}, [statistics]);
|
}, [statistics]);
|
||||||
return (
|
return (
|
||||||
|
|
|
@ -2,7 +2,6 @@ import { api } from "@nice/client/";
|
||||||
import { Checkbox, Form } from "antd";
|
import { Checkbox, Form } from "antd";
|
||||||
import { TermDto } from "@nice/common";
|
import { TermDto } from "@nice/common";
|
||||||
import { useCallback, useEffect, useState } from "react";
|
import { useCallback, useEffect, useState } from "react";
|
||||||
|
|
||||||
export default function TermParentSelector({
|
export default function TermParentSelector({
|
||||||
value,
|
value,
|
||||||
onChange,
|
onChange,
|
||||||
|
@ -13,11 +12,7 @@ export default function TermParentSelector({
|
||||||
domainId,
|
domainId,
|
||||||
style,
|
style,
|
||||||
}: any) {
|
}: any) {
|
||||||
const utils = api.useUtils();
|
|
||||||
const [selectedValues, setSelectedValues] = useState<string[]>([]); // 用于存储选中的值
|
const [selectedValues, setSelectedValues] = useState<string[]>([]); // 用于存储选中的值
|
||||||
const [termsData, setTermsData] = useState<any[]>([]);
|
|
||||||
|
|
||||||
|
|
||||||
const {
|
const {
|
||||||
data,
|
data,
|
||||||
isLoading,
|
isLoading,
|
||||||
|
|
Loading…
Reference in New Issue