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 @@