From 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 18:09:58 +0800
Subject: [PATCH] 上报转运调试
---
node_modules/@dcloudio/uni-ui/lib/uni-easyinput/uni-easyinput.vue | 26 ++++++--------------------
1 files changed, 6 insertions(+), 20 deletions(-)
diff --git a/node_modules/@dcloudio/uni-ui/lib/uni-easyinput/uni-easyinput.vue b/node_modules/@dcloudio/uni-ui/lib/uni-easyinput/uni-easyinput.vue
index 93506d6..a328da7 100644
--- a/node_modules/@dcloudio/uni-ui/lib/uni-easyinput/uni-easyinput.vue
+++ b/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>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3