perf: 修复有些新增按钮点空白处不能触发的问题

This commit is contained in:
陈劲松
2020-04-06 13:33:02 +08:00
parent e5486e2835
commit 874696feb7
4 changed files with 22 additions and 11 deletions

View File

@@ -1473,3 +1473,16 @@ li{
color: #ee6723;
margin-right: 4px;
}
.dropdownBtn>.el-button-group>.el-button:first-of-type {
padding: 0 7px;
}
.dropdownBtn>.el-button-group>.el-button:last-of-type {
padding: 0 5px;
}
.export-left-btn {
display: inline-block;
width: 30px;
margin: 0 -7px;
padding: 3px 0;
}

View File

@@ -411,7 +411,8 @@
if (!objectName) {
objectName = walk;
}
return mibName ? mibName + "<span style='font-weight:bold'>" + objectName : objectName + "</span>";
objectName = "<span style='font-weight:bold'>" + objectName + "</span>";
return mibName ? mibName + "" + objectName : objectName;
},
removeWalk(walk) {

View File

@@ -99,10 +99,12 @@
export-url="/asset/export"
:params="searchLabel"
@afterImport="getAssetData"
style="width: 59px;"
style="width: 57px;"
class="float-right">
<template slot="optionZone">
<i class="nz-icon nz-icon-create-square" @click.stop="tagShow('showAdd')" :title="$t('overall.createAsset')" ></i>
<div class="export-left-btn" @click.stop="tagShow('showAdd')">
<i class="nz-icon nz-icon-create-square" :title="$t('overall.createAsset')" ></i>
</div>
</template>
</export-excel>
</div>

View File

@@ -61,7 +61,9 @@
style="width: 57px;"
>
<template slot="optionZone">
<i class="nz-icon nz-icon-create-square" @click.stop="toCreateEndpoint" :title="$t('overall.createProject')" ></i>
<div class="export-left-btn" @click.stop="toCreateEndpoint">
<i class="nz-icon nz-icon-create-square" :title="$t('overall.createProject')" ></i>
</div>
</template>
</export-excel>
</div>
@@ -1271,11 +1273,4 @@
top: 50%;
left: 48.5%;
}
.dropdownBtn>.el-button-group>.el-button:first-of-type {
padding: 0 7px;
}
.dropdownBtn>.el-button-group>.el-button:last-of-type {
padding: 0 5px;
}
</style>