fix : 复制功能组件化替换

This commit is contained in:
likexuan
2022-10-20 16:38:11 +08:00
parent 9d08d29b20
commit de3f4ccc3c
7 changed files with 56 additions and 47 deletions

View File

@@ -44,14 +44,14 @@
<span class="document-copy-text">{{scope.row.name ? scope.row.name : '-'}}</span>
<i v-if="scope.row.name" class="nz-icon nz-icon-override" style="visibility: hidden" @click="onCopy(scope.row.name)" :title="$t('overall.copyText')"></i>
</div> -->
<copy :copyData='scope.row.name'>
<copy :copyData='scope.row.name' :showInfo='scope.row.name'>
<template slot="copy-text">
{{scope.row.name ? scope.row.name : '-'}}
</template>
</copy>
</template>
<template v-else-if="item.prop === 'manageIp'">
<copy :copyData='scope.row.manageIp'>
<copy :copyData='scope.row.manageIp' :showInfo='scope.row.manageIp'>
<template slot="copy-text">
{{scope.row.manageIp ? scope.row.manageIp : '-'}}
</template>