diff --git a/src/utils/helper.ts b/src/utils/helper.ts index be6622c8..f9e81e49 100644 --- a/src/utils/helper.ts +++ b/src/utils/helper.ts @@ -113,7 +113,7 @@ export const proxyValue = | any[]>(value const oldV = obj[prop as keyof T]; obj[prop as keyof T] = value; update(); - obj[prop as keyof T] = oldV; + setTimeout(() => (obj[prop as keyof T] = oldV)); return true; }, });