@ -18,9 +18,11 @@ export default {
change(e) {
this.$parent.addInputFile(e.target)
if (e.target.files) {
e.target.type = ''
e.target.value = ''
if (!/safari/i.test(navigator.userAgent)) {
e.target.type = 'file'
}
} else {
// ie9 fix #219
this.$destroy()