fix : 复制功能组件替换

This commit is contained in:
likexuan
2022-10-20 17:08:16 +08:00
parent de3f4ccc3c
commit ddb4fa4cc9
16 changed files with 156 additions and 114 deletions

View File

@@ -111,10 +111,11 @@
<span v-else> - </span>
</template>
<template v-else-if="item.prop === 'sn'">
<div class="document-copy-block">
<span class="document-copy-text">{{scope.row.sn ? scope.row.sn : '-'}}</span>
<i v-if="scope.row.sn" class="nz-icon nz-icon-override" style="visibility: hidden" @click="onCopy(scope.row.sn)" :title="$t('overall.copyText')"></i>
</div>
<copy :copyData='scope.row[item.prop]' :showInfo='scope.row[item.prop]'>
<template slot="copy-text">
{{scope.row[item.prop]?scope.row[item.prop]:'-'}}
</template>
</copy>
</template>
<template v-else-if="item.prop === 'talon'">
<div v-if="scope.row['clientState']===1">