fix(PosterBuilder): 替换废弃的getSystemInfoSync并优化downImage类型
使用Taro.getWindowInfo()替代已废弃的getSystemInfoSync,并添加错误处理 为downImage函数添加类型声明,明确返回Promise<string>
Showing
1 changed file
with
15 additions
and
8 deletions
-
Please register or login to post a comment