Update PreviewTable.vue
This commit is contained in:
parent
0ef5df719c
commit
bc02b2843b
|
@ -29,7 +29,7 @@
|
|||
<el-button circle icon="el-icon-download" @click="handleDownload(scope.row)"></el-button>
|
||||
<el-button circle icon="el-icon-delete" type="danger" @click="handleDelete(scope.$index, scope.row)">
|
||||
</el-button>
|
||||
<el-upload :auto-upload="false" :on-change="chageCover" action="" drag>
|
||||
<el-upload :auto-upload="false" :show-file-list="false" :on-change="chageCover" action="" drag>
|
||||
<i class="el-icon-picture" />
|
||||
</el-upload>
|
||||
</template>
|
||||
|
@ -58,7 +58,7 @@ export default {
|
|||
handleDownload(row) {
|
||||
this.$emit('download', row);
|
||||
},
|
||||
changeCover() {
|
||||
changeCover(file) {
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
Reference in New Issue