Commit 4ee20d6e by Johannes Zellner

Ensure the rename input has correct size

1 parent 870c3b66
Showing with 1 additions and 1 deletions
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="filePath" label="Name" sortable> <el-table-column prop="filePath" label="Name" sortable>
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-on:keyup.native.enter="onRenameSubmit(scope.row)" v-on:keyup.native.esc="onRenameEnd(scope.row)" @blur="onRenameEnd(scope.row)" v-model="scope.row.filePathNew" :id="'filePathRenameInputId-' + scope.$index" v-show="scope.row.rename"></el-input> <el-input size="small" v-on:keyup.native.enter="onRenameSubmit(scope.row)" v-on:keyup.native.esc="onRenameEnd(scope.row)" @blur="onRenameEnd(scope.row)" v-model="scope.row.filePathNew" :id="'filePathRenameInputId-' + scope.$index" v-show="scope.row.rename"></el-input>
<span v-show="!scope.row.rename">{{ scope.row.filePath }}</span> <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> <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> </template>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!