<span v-show="!scope.row.rename">{{ scope.row.filePath }}</span>
<el-button size="small" icon="el-icon-edit" type="text" plain circle class="rename-action" v-show="!scope.row.rename" @click.stop="onRename(scope.row, scope)"></el-button>
</template>
<span v-show="!scope.row.rename">{{ scope.row.filePath }}</span>
<el-button size="small" icon="el-icon-edit" type="text" plain circle class="rename-action" v-show="!scope.row.rename" @click.stop="onRename(scope.row, scope)"></el-button>
</template>