上传文件input 同一文件只执行一次
2021-03-06
1 min read
if(this.$refs.fileInput.files[0]) {
this.$refs.fileInput.value = '';
// this.$refs.fileInput.files[0] = [];
}