1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-09-10 05:31:08 +08:00

Update index.vue

This commit is contained in:
zhaoguoweiLLHC 2018-09-27 12:56:06 +08:00 committed by GitHub
parent 9a2946b00a
commit f55eb0bc43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,9 +56,7 @@ export default {
e.dataTransfer.dropEffect = 'copy'
},
handleUpload() {
// onSuccess
// idididrefsclass
this.$refs['excel-upload-input'].click();
this.$refs['excel-upload-input'].click()
},
handleClick(e) {
const files = e.target.files