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

main
liu.shiyi 1 year ago
parent c958483622
commit 103efc11c8

@ -373,7 +373,7 @@ export default {
backManagement () { backManagement () {
const data = { componentsManagementType: 'component' } const data = { componentsManagementType: 'component' }
this.$router.app.$options.globalData = data // 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) { undo (isUndo) {
this.undoTimeLine(isUndo) this.undoTimeLine(isUndo)

Loading…
Cancel
Save