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 {
margin-top: 20px;
height: 44px;
height: 43px;
display: flex;
img {
height: 100%;

View File

@ -5,13 +5,13 @@
:content="t('visualization.share')"
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>
</el-icon>
</el-tooltip>
<el-button v-if="props.weight >= 7 && props.isButton" @click="share" icon="Share">{{
t('visualization.share')
}}</el-button>
<el-button v-if="props.weight >= 7 && props.isButton" @click.stop="share" icon="Share">
{{ t('visualization.share') }}</el-button
>
<el-dialog
v-if="dialogVisible && props.weight >= 7"

View File

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