mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
uploader
This commit is contained in:
@@ -28,9 +28,11 @@
|
||||
},
|
||||
methods: {
|
||||
onValueChange (event) {
|
||||
|
||||
if (this.disabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
var files = event.target.files;
|
||||
var file = files[0];
|
||||
if (!file) return;
|
||||
|
Reference in New Issue
Block a user