fix: 增加批量操作的引导,当复选框、或全选时 显示tips (全部列表)

This commit is contained in:
wenyann 2021-06-09 18:49:22 +08:00 committed by 刘瑞斌
parent 896382af99
commit 364535b8bc
1 changed files with 9 additions and 1 deletions

View File

@ -2,7 +2,10 @@
<div v-if="isShow"> <div v-if="isShow">
<el-dropdown placement="bottom" trigger="click" size="medium"> <el-dropdown placement="bottom" trigger="click" size="medium">
<div @click.stop class="show-more-btn"> <div @click.stop class="show-more-btn">
<el-tooltip class="item" effect="dark" :content="$t('test_track.case.batch_operate')" placement="top-start">
<i class="el-icon-more ms-icon-more"/> <i class="el-icon-more ms-icon-more"/>
</el-tooltip>
</div> </div>
<el-dropdown-menu slot="dropdown" class="dropdown-menu-class"> <el-dropdown-menu slot="dropdown" class="dropdown-menu-class">
<div class="show-more-btn-title">{{$t('test_track.case.batch_handle', [size])}}</div> <div class="show-more-btn-title">{{$t('test_track.case.batch_handle', [size])}}</div>
@ -19,6 +22,11 @@
export default { export default {
name: "ShowMoreBtn", name: "ShowMoreBtn",
data() {
return {
disabled: false
};
},
props: { props: {
isShow: { isShow: {
type: Boolean, type: Boolean,