wenbobowen 4 years ago
parent
commit
5e27e58a93
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/input/normalArea.vue

+ 2 - 2
src/components/input/normalArea.vue

@@ -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
     }