diff --git a/data-room-ui/example/customDatasetComponents/jsDataSet/index.vue b/data-room-ui/example/customDatasetComponents/jsDataSet/index.vue index 6b78b881..4b955cac 100644 --- a/data-room-ui/example/customDatasetComponents/jsDataSet/index.vue +++ b/data-room-ui/example/customDatasetComponents/jsDataSet/index.vue @@ -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 diff --git a/data-room-ui/packages/BigScreenComponentMag/SideMenu.vue b/data-room-ui/packages/BigScreenComponentMag/SideMenu.vue index fb8d904a..68538e02 100644 --- a/data-room-ui/packages/BigScreenComponentMag/SideMenu.vue +++ b/data-room-ui/packages/BigScreenComponentMag/SideMenu.vue @@ -37,6 +37,11 @@ export default { } }, mounted () { + const type = this.$route?.query?.type + if (type) { + this.activeType = type + this.$emit('getPageInfo', type) + } }, methods: { // 点击左侧组件 diff --git a/data-room-ui/packages/BizComponent/index.vue b/data-room-ui/packages/BizComponent/index.vue index e9b0ff9f..eee0fb4c 100644 --- a/data-room-ui/packages/BizComponent/index.vue +++ b/data-room-ui/packages/BizComponent/index.vue @@ -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 () {