can not change data in the @change vuejs handler
问题 There is a component that contains input[type=file] . Also, this field has an uploadFile handler, which calls the validateMessage method, which attempts to change the error. As you can see, after changing this.error it shows that everything is correct. But in div.error it is not displayed and if you look in vueDevtool, then there is also empty. data in vueDevTools data() { return { error: '' } }, methods: { validateFile(file) { if (! file.type.includes('video/')) { this.error = 'wrong format'