reactor:osName 的获取,从 getSystemInfoSync 迁移到 getDeviceInfo

reactor:pixelRatio/windowHeight/windowWidth 的获取,从 getSystemInfoSync 迁移到 getWindowInfo
This commit is contained in:
YunaiV
2025-04-29 20:13:18 +08:00
parent 04bb5e65d3
commit 82aada5ecd
8 changed files with 21 additions and 22 deletions
@@ -187,7 +187,7 @@
// #endif
// #ifdef APP-NVUE
dom.getComponentRect(this.$refs['animationEle'], (res) => {
let winWidth = uni.getSystemInfoSync().windowWidth
let winWidth = uni.getWindowInfo().windowWidth
this.textWidth = res.size.width
animation.transition(this.$refs['animationEle'], {
styles: {