diff --git a/core/core-frontend/src/pages/panel/ViewWrapper.vue b/core/core-frontend/src/pages/panel/ViewWrapper.vue index e905f83b82..cb754f286f 100644 --- a/core/core-frontend/src/pages/panel/ViewWrapper.vue +++ b/core/core-frontend/src/pages/panel/ViewWrapper.vue @@ -113,15 +113,8 @@ onBeforeMount(async () => { } ) }) -const userViewEnlargeOpen = (a, b) => { - console.log(a, b, 'item') - - userViewEnlargeRef.value.dialogInit( - state.canvasStylePreview, - viewInfo.value, - config.value, - 'details' - ) +const userViewEnlargeOpen = opt => { + userViewEnlargeRef.value.dialogInit(state.canvasStylePreview, viewInfo.value, config.value, opt) } const onPointClick = param => {