From 57f65d45e34f856709486257ede9c6518a152d2b Mon Sep 17 00:00:00 2001 From: fan Date: Tue, 30 May 2023 11:23:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=8D=89=E7=A8=BFibp?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 10 ++++++++++ src/views/ibp/home.vue | 6 +++++- src/views/ibp/ibpDraw/ibpOperate/index.vue | 4 ++++ src/views/ibp/ibpDraw/index.vue | 10 ++++------ src/views/publish/publishMap/index.vue | 7 +++++++ 5 files changed, 30 insertions(+), 7 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index bd26053c5..a6e00967c 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1948,6 +1948,16 @@ export const asyncRouter = [ path: 'publishIscs', component: PublishISCS, hidden: true + }, + { // ibp列表 + path: 'ibp/home/:mapId', + component: IbpHome, + hidden: true + }, + { + path: 'ibp/edit', + component: IbpDraw, + hidden: true } ] }, diff --git a/src/views/ibp/home.vue b/src/views/ibp/home.vue index f767e2c6e..ad6d249b8 100644 --- a/src/views/ibp/home.vue +++ b/src/views/ibp/home.vue @@ -2,6 +2,7 @@ @@ -140,6 +141,9 @@ export default { deleteDataModel(model) { this.$store.dispatch('ibp/deleteIbpDevices', model); }, + goBack() { + this.$router.go(-1); + }, async handleSave() { if (this.$store.state.ibp.ibp.background) { try { diff --git a/src/views/ibp/ibpDraw/index.vue b/src/views/ibp/ibpDraw/index.vue index 1f046859d..35a377c42 100644 --- a/src/views/ibp/ibpDraw/index.vue +++ b/src/views/ibp/ibpDraw/index.vue @@ -13,7 +13,6 @@