fix : 复制功能组件化替换
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user