diff --git a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue index 6fcd92ff9f..427b7e5c65 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue @@ -297,7 +297,6 @@ const slotStyle = computed(() => { const onPointClick = param => { emits('onPointClick', param) } -const isEmbedded = computed(() => appStore.getIsDataEaseBi || appStore.getIsIframe) const eventEnable = computed( () => @@ -328,7 +327,8 @@ const onWrapperClick = e => { '_blank', 'width=800,height=600,left=200,top=100,toolbar=no,scrollbars=yes,resizable=yes,location=no' ) - } else if ('_blank' === jumpType && isEmbedded.value) { + } else if ('_blank' === jumpType) { + console.info('DataEase Component Jump _blank') window.open(url, '_blank') } else { initOpenHandler(window.open(url, jumpType)) diff --git a/core/core-frontend/src/custom-component/rich-text/DeRichTextView.vue b/core/core-frontend/src/custom-component/rich-text/DeRichTextView.vue index ac6e6a57fd..7ba0edc3ef 100644 --- a/core/core-frontend/src/custom-component/rich-text/DeRichTextView.vue +++ b/core/core-frontend/src/custom-component/rich-text/DeRichTextView.vue @@ -373,6 +373,7 @@ const assignment = content => { const on = content?.match(/\[(.+?)\]/g) if (on) { const thresholdStyleInfo = conditionAdaptor(state.viewDataInfo) + console.info('Rich Text assignment value:' + JSON.stringify(dataRowNameSelect.value)) on.forEach(itm => { if (dataRowFiledName.value.includes(itm)) { const ele = itm.slice(1, -1) @@ -663,12 +664,10 @@ const initCurFields = chartDetails => { } element.value.propValue['innerType'] = chartDetails.type element.value.propValue['render'] = chartDetails.render - if (chartDetails.type === 'rich-text') { - nextTick(() => { - initCurFieldsChange() - eventBus.emit('initCurFields-' + element.value.id) - }) - } + nextTick(() => { + initCurFieldsChange() + eventBus.emit('initCurFields-' + element.value.id) + }) } // 初始化此处不必刷新