fix:批量删除修改

This commit is contained in:
zhangyu
2022-10-24 13:44:32 +08:00
parent 7af0c0df2d
commit b8301e57c0
3 changed files with 4 additions and 4 deletions

View File

@@ -58,8 +58,8 @@
<delete-button <delete-button
ref="deleteButton" ref="deleteButton"
:from="'cabinetTab'" :from="'cabinetTab'"
:single="false" :single="true"
:forceDeleteShow="false" :forceDeleteShow="true"
:type="'link'" :type="'link'"
:title="$t('overall.batchDel')" :title="$t('overall.batchDel')"
id="asset-model-batch-delete" id="asset-model-batch-delete"

View File

@@ -52,7 +52,7 @@
<i :class="selectIcon(item.type)"/> <i :class="selectIcon(item.type)"/>
<span class="text-ellipsis batch-delete-item-text" :title="item.name">{{item.name}}</span> <span class="text-ellipsis batch-delete-item-text" :title="item.name">{{item.name}}</span>
<el-collapse-transition> <el-collapse-transition>
<div v-show="item.showChildren && item.relates.length"> <div v-show="item.showChildren && item.relates && item.relates.length">
<div v-for="(relate,i) in item.relates" :key = 'i' class="tree-body-item tree-body-children" @click="showChild(relate)" :style="i === item.relates.length-1?'margin-bottom: 0':''"> <div v-for="(relate,i) in item.relates" :key = 'i' class="tree-body-item tree-body-children" @click="showChild(relate)" :style="i === item.relates.length-1?'margin-bottom: 0':''">
<i class="nz-icon nz-icon-caret-right" :class="relate.showChildren ? 'rotate90': '' " :style="relate.relates && relate.relates.length ? '' : 'opacity: 0'"/> <i class="nz-icon nz-icon-caret-right" :class="relate.showChildren ? 'rotate90': '' " :style="relate.relates && relate.relates.length ? '' : 'opacity: 0'"/>
<i :class="selectIcon(relate.type)"/> <i :class="selectIcon(relate.type)"/>

View File

@@ -44,7 +44,7 @@
<delete-button <delete-button
ref="deleteButton" ref="deleteButton"
:from="'cabinet'" :from="'cabinet'"
:forceDeleteShow="false" :forceDeleteShow="true"
id="cabinet-delete" id="cabinet-delete"
:type="'link'" :type="'link'"
:title="$t('overall.delete')" :title="$t('overall.delete')"