From 85d7cae434fb287c6c8c091fd4b0373b53847242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8B=AC=E6=9C=A8=E8=88=9F?= <1978141412@qq.com> Date: Tue, 16 Dec 2025 20:51:26 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=A8=A1=E6=80=81?= =?UTF-8?q?=E3=80=81=E6=8A=BD=E5=B1=89=E4=B8=AD=E5=A4=9A=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E3=80=81=E5=8D=A1=E7=89=87=E7=AD=89=E9=83=A8=E4=BB=B6=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E5=9E=82=E7=9B=B4=E6=BB=9A=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + src/mob-app/router/index.ts | 16 +++++++++++++--- src/util/app-drawer/app-drawer-component.tsx | 2 +- src/util/app-modal/app-modal-component.tsx | 1 + 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 20e71bcc..fd580fcb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ - 修复数据选择(下拉)点击取消按钮未清空数据 - 修复图标菜单、列表菜单、门户部件响应式样式异常,在小屏幕下内容显示不全 - 修复分割容器分割线较窄的问题,修复流布局,卡片,多数据部件分组锚点文字过小问题,修复工具栏自定义位置时可重复点击生成多个工具栏的问题,修复搜索栏样式异常问题 +- 修复模态、抽屉中多数据、卡片等部件无法垂直滚动 ## [0.7.41-alpha.21] - 2025-11-28 diff --git a/src/mob-app/router/index.ts b/src/mob-app/router/index.ts index e61b6532..045aad3b 100644 --- a/src/mob-app/router/index.ts +++ b/src/mob-app/router/index.ts @@ -9,7 +9,6 @@ import { Modal, RouteConst, ViewMode } from '@ibiz-template/runtime'; import { isNilOrEmpty } from 'qx-util'; import { AppRedirectView } from '@ibiz-template/vue3-util'; import qs from 'qs'; -import { AuthGuard } from '../guard'; import { RouterShell, HomeView, ModalRouterShell } from '../components'; import { DownloadView, LoginView, View404 } from '../../view'; import { useViewStack } from '../../util'; @@ -29,6 +28,17 @@ const getPropsCallback = (depth: number) => { export class AppRouter { private static router?: Router; + private static authGuard: ( + context: IParams, + notLogin?: boolean, + ) => Promise; + + static setAuthGuard( + authGuard: (context: IParams, notLogin?: boolean) => Promise, + ): void { + this.authGuard = authGuard; + } + static getAppContext(route: RouteLocationNormalized): IParams { let appContext: IParams = {}; if ( @@ -62,7 +72,7 @@ export class AppRouter { if (!isNilOrEmpty(ibiz.appData)) { next(); } else { - const authority = await AuthGuard(this.getAppContext(_to)); + const authority = await this.authGuard(this.getAppContext(_to)); if (authority) { next(); } else { @@ -163,7 +173,7 @@ export class AppRouter { name: 'loginView', meta: { preset: true }, beforeEnter: async (_to, _from, next) => { - await AuthGuard(this.getAppContext(_to), false); + await this.authGuard(this.getAppContext(_to), false); next(); }, component: LoginView, diff --git a/src/util/app-drawer/app-drawer-component.tsx b/src/util/app-drawer/app-drawer-component.tsx index b4a3ede3..c0d3372a 100644 --- a/src/util/app-drawer/app-drawer-component.tsx +++ b/src/util/app-drawer/app-drawer-component.tsx @@ -105,7 +105,7 @@ export const AppDrawerComponent = defineComponent({ return ( Date: Tue, 16 Dec 2025 20:53:09 +0800 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E5=AF=BC=E8=88=AA=E4=B8=8A=E5=88=86=E9=A1=B5=E6=97=B6=E5=9C=A8?= =?UTF-8?q?ios=E4=B8=AD=E5=87=BA=E7=8E=B0=E6=BA=A2=E5=87=BA=E7=9C=81?= =?UTF-8?q?=E7=95=A5=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + .../tab-layout/tab-default-layout/tab-default-layout.tsx | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd580fcb..c12a94a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ - 修复图标菜单、列表菜单、门户部件响应式样式异常,在小屏幕下内容显示不全 - 修复分割容器分割线较窄的问题,修复流布局,卡片,多数据部件分组锚点文字过小问题,修复工具栏自定义位置时可重复点击生成多个工具栏的问题,修复搜索栏样式异常问题 - 修复模态、抽屉中多数据、卡片等部件无法垂直滚动 +- 修复分页导航上分页时在ios中出现溢出省略异常 ## [0.7.41-alpha.21] - 2025-11-28 diff --git a/src/common/tab-layout/tab-default-layout/tab-default-layout.tsx b/src/common/tab-layout/tab-default-layout/tab-default-layout.tsx index 36d7b653..15f8a196 100644 --- a/src/common/tab-layout/tab-default-layout/tab-default-layout.tsx +++ b/src/common/tab-layout/tab-default-layout/tab-default-layout.tsx @@ -16,7 +16,11 @@ export const TabDefaultLayout = defineComponent({ }, render() { let content = ( - + {this.tabPages.map(tab => { if (tab.isHidden) return; -- Gitee From 93e6103b972e2f6f8b5194aa2a8193f43fe76727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8B=AC=E6=9C=A8=E8=88=9F?= <1978141412@qq.com> Date: Tue, 16 Dec 2025 20:54:03 +0800 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dmarkdown=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E5=99=A8=E5=9C=A8ios=E4=B8=AD=E5=85=89=E6=A0=87?= =?UTF-8?q?=E9=94=99=E4=BD=8D=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + .../markdown/ibiz-markdown-editor/ibiz-markdown-editor.tsx | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c12a94a7..2c4da759 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ - 修复分割容器分割线较窄的问题,修复流布局,卡片,多数据部件分组锚点文字过小问题,修复工具栏自定义位置时可重复点击生成多个工具栏的问题,修复搜索栏样式异常问题 - 修复模态、抽屉中多数据、卡片等部件无法垂直滚动 - 修复分页导航上分页时在ios中出现溢出省略异常 +- 修复markdown编辑器在ios中光标错位异常 ## [0.7.41-alpha.21] - 2025-11-28 diff --git a/src/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.tsx b/src/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.tsx index 1b929fe9..4763f5eb 100644 --- a/src/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.tsx +++ b/src/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.tsx @@ -129,6 +129,9 @@ const IBizMarkDown: any = defineComponent({ }; const setCherryContent2 = (val: string) => { editorPreview.value?.setMarkdown(val, true); + // 修复ios中光标错位 + editor.value?.refreshPreviewer(); + editorPreview.value?.refreshPreviewer(); }; watch( () => props.value, -- Gitee