export const ComponentUtils = { /** * 适配taro ui的一些写法 * @author 韦胜健 * @date 2024/1/3 16:48 */ getElInfo: async (selector: string) => { return document.querySelector(selector)!.getBoundingClientRect(); }, };