fix(工作台): 点击操作栏的【新页面预览】、【分享】后 新开了页面

This commit is contained in:
dataeaseShu 2024-03-27 17:37:01 +08:00
parent 885f47c4dd
commit 9e9005b358
4 changed files with 10 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 34 KiB

View File

@ -368,7 +368,7 @@ const save = () => {
.mobile-header { .mobile-header {
margin-top: 20px; margin-top: 20px;
height: 44px; height: 43px;
display: flex; display: flex;
img { img {
height: 100%; height: 100%;

View File

@ -5,13 +5,13 @@
:content="t('visualization.share')" :content="t('visualization.share')"
placement="top" placement="top"
> >
<el-icon class="hover-icon hover-icon-in-table share-button-icon" @click="share"> <el-icon class="hover-icon hover-icon-in-table share-button-icon" @click.stop="share">
<Icon name="icon_share-label_outlined"></Icon> <Icon name="icon_share-label_outlined"></Icon>
</el-icon> </el-icon>
</el-tooltip> </el-tooltip>
<el-button v-if="props.weight >= 7 && props.isButton" @click="share" icon="Share">{{ <el-button v-if="props.weight >= 7 && props.isButton" @click.stop="share" icon="Share">
t('visualization.share') {{ t('visualization.share') }}</el-button
}}</el-button> >
<el-dialog <el-dialog
v-if="dialogVisible && props.weight >= 7" v-if="dialogVisible && props.weight >= 7"

View File

@ -325,7 +325,9 @@ const getEmptyDesc = (): string => {
<el-tooltip effect="dark" content="新页面预览" placement="top"> <el-tooltip effect="dark" content="新页面预览" placement="top">
<el-icon <el-icon
class="hover-icon hover-icon-in-table" class="hover-icon hover-icon-in-table"
@click="preview(activeName === 'recent' ? scope.row.id : scope.row.resourceId)" @click.stop="
preview(activeName === 'recent' ? scope.row.id : scope.row.resourceId)
"
> >
<Icon name="icon_pc_outlined"></Icon> <Icon name="icon_pc_outlined"></Icon>
</el-icon> </el-icon>
@ -351,7 +353,7 @@ const getEmptyDesc = (): string => {
> >
<el-icon <el-icon
class="hover-icon hover-icon-in-table" class="hover-icon hover-icon-in-table"
@click="executeCancelStore(scope.row)" @click.stop="executeCancelStore(scope.row)"
> >
<Icon name="icon_cancel_store"></Icon> <Icon name="icon_cancel_store"></Icon>
</el-icon> </el-icon>
@ -362,7 +364,7 @@ const getEmptyDesc = (): string => {
<el-tooltip effect="dark" content="打开数据集" placement="top"> <el-tooltip effect="dark" content="打开数据集" placement="top">
<el-icon <el-icon
class="hover-icon hover-icon-in-table" class="hover-icon hover-icon-in-table"
@click=" @click.stop="
openDataset(activeName === 'recent' ? scope.row.id : scope.row.resourceId) openDataset(activeName === 'recent' ? scope.row.id : scope.row.resourceId)
" "
> >