업데이트
This commit is contained in:
parent
2bf1c54e7a
commit
91e77526b4
@ -203,15 +203,13 @@ export default function Search({ ...props }) {
|
|||||||
if (imagesResultID && imagesResultID.length > 0) {
|
if (imagesResultID && imagesResultID.length > 0) {
|
||||||
getImageUrl(imagesResultID).then((url) => {
|
getImageUrl(imagesResultID).then((url) => {
|
||||||
setRoboFlowUrlLists(url);
|
setRoboFlowUrlLists(url);
|
||||||
|
}).finally(() => {
|
||||||
|
setImage(null)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}, [imagesResultID]);
|
}, [imagesResultID]);
|
||||||
|
|
||||||
React.useEffect(() => {
|
|
||||||
if (roboFlowUrlLists) {
|
|
||||||
console.log(roboFlowUrlLists);
|
|
||||||
}
|
|
||||||
}, [roboFlowUrlLists]);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
Loading…
Reference in New Issue
Block a user