@@ -107,10 +107,10 @@ export default {
},
watch: {
value: {
- handler(newV, oldV) {
+ async handler(newV, oldV) {
console.log('new', newV, 'old', oldV)
// resetImgSrc
- this.inputValue = this.resetImgSrc(newV)
+ this.inputValue = await this.resetImgSrc(newV)
immediate: true
}