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