Update PreviewTable.vue

This commit is contained in:
xhacker-zzz 2021-12-22 10:17:12 +08:00 committed by GitHub
parent 0ef5df719c
commit bc02b2843b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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) {
},
},
};