From 38dfdf64c01b67d63d3ac3cfd32d1e0be3e02414 Mon Sep 17 00:00:00 2001 From: "wu.jian2" Date: Sun, 8 Oct 2023 14:58:34 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BB=84=E4=BB=B6=E5=BA=93=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E6=96=B0=E5=A2=9E=E3=80=81=E8=AE=BE=E8=AE=A1=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=89=93=E5=BC=80=E6=96=B0=E7=AA=97=E5=8F=A3=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=EF=BC=8C=E6=9B=B4=E6=96=B0=E4=B8=BA=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=89=93=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data-room-ui/packages/ComponentList/EditForm.vue | 4 ++-- data-room-ui/packages/ComponentList/index.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data-room-ui/packages/ComponentList/EditForm.vue b/data-room-ui/packages/ComponentList/EditForm.vue index aa950d6d..b965c3ff 100644 --- a/data-room-ui/packages/ComponentList/EditForm.vue +++ b/data-room-ui/packages/ComponentList/EditForm.vue @@ -477,7 +477,7 @@ export default { // 跳转设计态 toDesign (form) { const path = this.type === 'component' ? (window.BS_CONFIG?.routers?.designUrl || '/big-screen/design') : 'big-screen-biz-component-design' - const { href: bigScreenHref } = this.type == 'bizComponent' ? this.$router.resolve({ + const { href: bigScreenHref } = this.type === 'bizComponent' ? this.$router.resolve({ path, query: { code: form.code, @@ -490,7 +490,7 @@ export default { } }) // 新窗口打开 - window.open(bigScreenHref, '_blank') + window.open(bigScreenHref, '_self') } } } diff --git a/data-room-ui/packages/ComponentList/index.vue b/data-room-ui/packages/ComponentList/index.vue index 406c04f0..8765a15e 100644 --- a/data-room-ui/packages/ComponentList/index.vue +++ b/data-room-ui/packages/ComponentList/index.vue @@ -353,7 +353,7 @@ export default { } }) // 新窗口打开 - window.open(href, '_blank') + window.open(href, '_self') }, add () { const page = {