wenbobowen 4 سال پیش
والد
کامیت
5e27e58a93
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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
     }