fix: check compatiblity after delete selecor

This commit is contained in:
jialin
2025-04-05 10:42:24 +08:00
parent a23f9881ee
commit 9f24e765be
6 changed files with 34 additions and 11 deletions
+2 -2
View File
@@ -474,12 +474,12 @@ export const useCheckCompatibility = () => {
const cancelEvaluate = () => {
checkTokenRef.current?.cancel();
checkTokenRef.current = null;
cacheFormValuesRef.current = {};
};
useEffect(() => {
return () => {
checkTokenRef.current?.cancel();
checkTokenRef.current = null;
cancelEvaluate();
};
}, []);