WXL
3 天以前 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7
node_modules/@dcloudio/uni-ui/lib/uni-easyinput/uni-easyinput.vue
@@ -352,7 +352,7 @@
               this.modelValue === 0 ||
               this.modelValue === ''
            ) {
               this.val = this.modelValue;
               this.val = this.modelValue;
            } else {
               // fix by ht 如果初始值为null,则input报错,待框架修复
               this.val = '';
@@ -392,10 +392,12 @@
            }
            if (this.errMsg) this.errMsg = '';
            this.val = value;
            // TODO 兼容 vue2
            this.$emit('input', value);
            // TODO 兼容 vue3
            this.$emit('update:modelValue', value);
            // fix by ht input 修改一定要放在 update:modelvalue 后面,避免在input中修改值,导致 v-model 不生效
            // TODO 兼容 vue2
            this.$emit('input', value);
         },
         /**
@@ -544,22 +546,6 @@
      line-height: 1;
      font-size: 14px;
      height: 35px;
      // min-height: 36px;
      /*ifdef H5*/
      & ::-ms-reveal {
         display: none;
      }
      & ::-ms-clear {
         display: none;
      }
      & ::-o-clear {
         display: none;
      }
      /*endif*/
   }
   .uni-easyinput__placeholder-class {
@@ -673,4 +659,4 @@
         font-size: 12px;
      }
   }
</style>
</style>