feat: 组件库调整新增、设计组件打开新窗口操作,更新为当前页面打开

main
wu.jian2 1 year ago
parent 3d8e2194e2
commit 38dfdf64c0

@ -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')
}
}
}

@ -353,7 +353,7 @@ export default {
}
})
//
window.open(href, '_blank')
window.open(href, '_self')
},
add () {
const page = {

Loading…
Cancel
Save