chore(build): 调整个别组件的位置,减少对主包尺寸的影响

This commit is contained in:
2026-01-16 12:00:21 +08:00
parent 08880a15df
commit 5b9bef9214
33 changed files with 1588 additions and 1106 deletions

View File

@@ -0,0 +1,6 @@
export function getClientRect(selector, component) {
return new Promise((resolve, reject) => {
let query = component ? uni.createSelectorQuery().in(component) : uni.createSelectorQuery();
return query.select(selector).boundingClientRect(resolve).exec()
})
}