From 45e989218ff82ec18c9875de0337dd79d75c8e24 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 22 Apr 2025 12:08:11 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F?= =?UTF-8?q?=E3=80=81=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E9=A3=9E=E4=B9=A6=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6=E7=BC=A9?= =?UTF-8?q?=E6=94=BE=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core-frontend/src/custom-component/v-query/Component.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/custom-component/v-query/Component.vue b/core/core-frontend/src/custom-component/v-query/Component.vue index 2e76a9a3c7..c54a16df64 100644 --- a/core/core-frontend/src/custom-component/v-query/Component.vue +++ b/core/core-frontend/src/custom-component/v-query/Component.vue @@ -96,6 +96,9 @@ const defaultStyle = { } const customStyle = reactive({ ...defaultStyle }) const snapshotStore = snapshotStoreWithOut() +const userAgent = navigator.userAgent.toLowerCase() +// 判断是否为飞书内置浏览器 +const isFeiShu = /lark/i.test(userAgent) const btnStyle = computed(() => { const style = { @@ -772,7 +775,7 @@ const marginRight = computed(() => { }) const autoStyle = computed(() => { - if (isISOMobile()) { + if (isISOMobile() || isFeiShu) { return { position: 'absolute', height: 100 / scale.value + '%!important',