wenbobowen 4 năm trước cách đây
mục cha
commit
04e791e97b
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/components/input/textArea.vue

+ 2 - 1
src/components/input/textArea.vue

@@ -90,7 +90,7 @@ export default {
     return {
       fullScreen: false,
       loading: false,
-      inputValue: '',
+      inputValue: this.value,
       edit: false,
       init: {
         auto_focus: true,
@@ -122,6 +122,7 @@ export default {
     inputValue: {
       handler(newV, oldV) {
         // this.inputValue = newV
+        console.log(newV, oldV)
         this.resetImgSrc(newV)
       },
       immediate: true