From a142f52113bffc7607bb77b951599840029f38c5 Mon Sep 17 00:00:00 2001 From: Pang Date: Thu, 18 Jan 2024 18:36:09 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20iOS=E6=89=93=E5=BC=80=E9=94=AE=E7=9B=98?= =?UTF-8?q?=E6=97=B6=E7=9C=8B=E4=B8=8D=E8=A7=81=E9=80=9A=E7=9F=A5=E7=9A=84?= =?UTF-8?q?=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/js/components/Mobile/Notification.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/resources/assets/js/components/Mobile/Notification.vue b/resources/assets/js/components/Mobile/Notification.vue index f590dc9b4..ba76e52ed 100644 --- a/resources/assets/js/components/Mobile/Notification.vue +++ b/resources/assets/js/components/Mobile/Notification.vue @@ -3,6 +3,7 @@
@@ -35,6 +36,14 @@ export default { this.show = false; }, + computed: { + notifyStyle() { + return { + marginTop: this.$store.state.windowScrollY + 'px', + }; + }, + }, + methods: { open(config) { if (!$A.isJson(config)) {