From 6e272c7047e927259419e1266ff4ca7f290f91d2 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 4 Dec 2024 09:44:35 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8DIOS=E8=AE=BE=E5=A4=87=E9=83=A8=E5=88=86css?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E4=B8=8D=E6=94=AF=E6=8C=81=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=9A=84=E7=BC=A9=E6=94=BE=E4=B8=8D=E4=B8=80=E8=87=B4=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/custom-component/user-view/Component.vue | 16 ++++++++++++++-- .../src/custom-component/v-query/Component.vue | 15 +++++++++++++-- core/core-frontend/src/utils/utils.ts | 4 ++++ .../views/components/ChartComponentS2.vue | 16 ++++++++++++++-- 4 files changed, 45 insertions(+), 6 deletions(-) diff --git a/core/core-frontend/src/custom-component/user-view/Component.vue b/core/core-frontend/src/custom-component/user-view/Component.vue index b0949f5994..40460ea88d 100644 --- a/core/core-frontend/src/custom-component/user-view/Component.vue +++ b/core/core-frontend/src/custom-component/user-view/Component.vue @@ -1,6 +1,7 @@ diff --git a/core/core-frontend/src/utils/utils.ts b/core/core-frontend/src/utils/utils.ts index bbbd14f51b..e5c8c52306 100644 --- a/core/core-frontend/src/utils/utils.ts +++ b/core/core-frontend/src/utils/utils.ts @@ -136,6 +136,10 @@ export function isMobile() { ) } +export function isISOMobile() { + return navigator.userAgent.match(/(iPhone|iPad|iPod)/i) && !isTablet() +} + export const isDingTalk = window.navigator.userAgent.toLowerCase().includes('dingtalk') export const setTitle = (title?: string) => { diff --git a/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue b/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue index 38ffa87323..80d8cfa725 100644 --- a/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue +++ b/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue @@ -1,6 +1,7 @@