wenbobowen %!s(int64=4) %!d(string=hai) anos
pai
achega
5e27e58a93
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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
     }