chore: display warning message after form change in edit model

This commit is contained in:
jialin
2025-04-10 12:21:55 +08:00
parent 1182fdeb43
commit 7c79accda7
23 changed files with 126 additions and 71 deletions
-11
View File
@@ -148,12 +148,6 @@ const useSetChunkRequest = () => {
} else {
handler(response);
}
console.log('chunkrequest===', {
result: response,
url,
params
});
}
});
setRequestReadyState(requestData?.readyState);
@@ -197,11 +191,6 @@ const useSetChunkRequest = () => {
}, []);
useEffect(() => {
console.log(
'chunkrequest===retryCount.current==',
requestReadyState,
retryCount.current
);
if (requestReadyState === 4 && retryCount.current > 0) {
requestConfig.current.beforeReconnect?.();
clearTimeout(timer.current);
-5
View File
@@ -41,11 +41,6 @@ export function useUpdateChunkedList(options: {
}, 200);
};
const updateChunkedList = (data: ChunkedCollection) => {
console.log('updateChunkedList=====', {
ids: data?.ids,
type: data?.type,
collection: data?.collection
});
let collections = data?.collection || [];
if (options?.computedID) {
collections = collections?.map((item: any) => {