fix:修复批量删除禁用状态有hover效果

This commit is contained in:
zyh
2022-08-30 14:43:05 +08:00
parent 6dd9255859
commit faa8831db6
13 changed files with 20 additions and 17 deletions

View File

@@ -1,9 +1,12 @@
<template>
<div :class="['delete-button',(deleteObjs.length<1?'':'delete-button-light')]">
<button v-if="this.type === 'button'" :id="id" :class="{'nz-btn-disabled' : deleteObjs.length<1}" class="top-tool-btn top-tool-btn--delete" @click="batchDelete" :title="$t('overall.delete')">
<span><i class="nz-icon nz-icon-delete" ></i></span>
</button>
<div v-if="this.type === 'link'" :id="id" :class="{'nz-btn-disabled' : deleteObjs.length<1}" @click="batchDelete" :title="$t('overall.delete')">
<div>
<div :class="['delete-button',(deleteObjs.length<1?'':'delete-button-light')]">
<button v-if="this.type === 'button'" :id="id" :class="{'nz-btn-disabled' : deleteObjs.length<1}" class="top-tool-btn top-tool-btn--delete" @click="batchDelete" :title="$t('overall.delete')">
<span><i class="nz-icon nz-icon-delete" ></i></span>
</button>
</div>
<div v-if="this.type === 'link'" :id="id" @click="batchDelete" :title="$t('overall.delete')">
<span><i class="nz-icon nz-icon-delete" ></i>{{title}}</span>
</div>
</div>