Merge pull request #13688 from dataease/pr@dev-v2@refactor_jump

refactor: 组件跳转点击事件不受系统设置页面打开方式影响
This commit is contained in:
王嘉豪
2024-11-29 15:43:51 +08:00
committed by GitHub
3 changed files with 3 additions and 4 deletions

View File

@@ -328,10 +328,9 @@ const onWrapperClick = e => {
try {
let newWindow
if ('newPop' === jumpType) {
const openType = wsCache.get('open-backend') === '1' ? '_self' : '_blank'
window.open(
url,
openType,
'_blank',
'width=800,height=600,left=200,top=100,toolbar=no,scrollbars=yes,resizable=yes,location=no'
)
} else {

View File

@@ -120,7 +120,7 @@ const onJumpValueChange = () => {
<style scoped lang="less">
.form-item-dark {
.ed-radio {
margin-right: 4px !important;
margin-right: 3px !important;
}
}
</style>

View File

@@ -57,7 +57,7 @@ const newSource =
: t('visualization.new_dataset')
const sourceName = computed(() =>
props.sourceType === 'datasource' ? t('visualization.datasource') : t('visualization.dataset')
props.sourceType === 'datasource' ? t('datasource.datasource') : t('visualization.dataset')
)
const sortTypeChange = arr => {