Procházet zdrojové kódy

fix:修复项目引入大屏后从设计态返回管理页面时跳转404的问题

liu.shiyi před 1 rokem
rodič
revize
103efc11c8

+ 1 - 1
data-room-ui/packages/BigScreenDesign/PageDesignTop.vue

@@ -373,7 +373,7 @@ export default {
     backManagement () {
       const data = { componentsManagementType: 'component' }
       this.$router.app.$options.globalData = data // 将数据存储在全局变量中
-      this.$router.push({ path: this.pageInfo.type === 'component' ? (window.BS_CONFIG?.routers?.componentUrl || '/big-screen-components') : (window.BS_CONFIG?.routers?.pageManagementUrl || '/home') })
+      this.$router.push({ path: this.pageInfo.type === 'component' ? (window.BS_CONFIG?.routers?.componentUrl || '/big-screen-components') : (window.BS_CONFIG?.routers?.pageListUrl || '/big-screen-list') })
     },
     undo (isUndo) {
       this.undoTimeLine(isUndo)