improve:position compute separate from draw row

This commit is contained in:
Hufe921
2023-02-28 15:58:42 +08:00
parent fcb96a6f56
commit 8910c7cf0a
12 changed files with 235 additions and 131 deletions
+6
View File
@@ -111,4 +111,10 @@ export function mergeObject<T>(source: T, target: T): T {
target.push(...source)
}
return target
}
export function nextTick(fn: Function) {
setTimeout(() => {
fn()
}, 0)
}