fix: 组件库,设计业务组件时,返回激活对应的侧边menu

main
wu.jian2 2 years ago
parent 8e2eee3453
commit 9d1a6b5669

@ -602,7 +602,6 @@ export default {
},
//
scriptExecute (isInit = false) {
console.log(isInit)
if (this.dataForm.config.script) {
const javascript = this.dataForm.config.script
let scriptMethod = null

@ -37,6 +37,11 @@ export default {
}
},
mounted () {
const type = this.$route?.query?.type
if (type) {
this.activeType = type
this.$emit('getPageInfo', type)
}
},
methods: {
//

@ -220,7 +220,10 @@ export default {
},
backManagement () {
this.$router.push({
path: window.BS_CONFIG?.routers?.componentUrl || '/big-screen-components'
path: window.BS_CONFIG?.routers?.componentUrl || '/big-screen-components',
query: {
type: 'bizComponent'
}
})
},
save () {

Loading…
Cancel
Save