a bug fixed
parent
56184f2ebe
commit
2d10412137
|
|
@ -22,7 +22,6 @@ export default function Search({
|
|||
const inputRef = useRef<HTMLInputElement>(null);
|
||||
const [cancel, setCancel] = useState<boolean>(false);
|
||||
const handleSubmit = (e: any) => {
|
||||
console.log(222);
|
||||
e.preventDefault();
|
||||
setCancel(true);
|
||||
};
|
||||
|
|
@ -31,12 +30,11 @@ export default function Search({
|
|||
e.preventDefault();
|
||||
setCancel(false);
|
||||
if (changeValue !== undefined) {
|
||||
console.log(444);
|
||||
changeValue("");
|
||||
}
|
||||
Cancel(true);
|
||||
};
|
||||
console.log(value);
|
||||
|
||||
return (
|
||||
<form
|
||||
onSubmit={handleSubmit}
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ export default function TableController({
|
|||
<TableCell className="w-2/12">
|
||||
{convertFullTime(item.lastChanged)}
|
||||
</TableCell>
|
||||
<TableCell className="w-3/12">
|
||||
<TableCell className="w-3/12 truncate max-w-[1em]">
|
||||
{item?.title ? item.title : "-"}
|
||||
</TableCell>
|
||||
<TableCell className="w-3/12">
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@ export async function UpdateWebContents({
|
|||
// .....News.................................................
|
||||
export async function GetAllNews({
|
||||
PageNumber = 1,
|
||||
PageSize = 5,
|
||||
PageSize = 6,
|
||||
}: {
|
||||
PageNumber?: number;
|
||||
PageSize?: number;
|
||||
|
|
|
|||
Loading…
Reference in New Issue