diff --git a/sheep/ui/su-tabs/su-tabs.vue b/sheep/ui/su-tabs/su-tabs.vue index 05d7dcb3..0cd0b93c 100644 --- a/sheep/ui/su-tabs/su-tabs.vue +++ b/sheep/ui/su-tabs/su-tabs.vue @@ -72,7 +72,7 @@ diff --git a/uni_modules/uni-notice-bar/components/uni-notice-bar/uni-notice-bar.vue b/uni_modules/uni-notice-bar/components/uni-notice-bar/uni-notice-bar.vue index 424430da..5aa1c566 100644 --- a/uni_modules/uni-notice-bar/components/uni-notice-bar/uni-notice-bar.vue +++ b/uni_modules/uni-notice-bar/components/uni-notice-bar/uni-notice-bar.vue @@ -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: {