0👍
possible reason Vue may not be properly tracking the value of the input element. The v-model directive is used to bind the value of the input to a data property in Vue instance, try adding v-model to input file
<input type="file" v-model="file" @change="update" />
- [Vuejs]-How to add Search Box (L.Control.Search) global location on Leaflet Map using Vue.Js
- [Vuejs]-Vue Router – Same path, but different components
Source:stackexchange.com