From b4d2aa412a0c2806c754bc42e4f6e8a3251a5367 Mon Sep 17 00:00:00 2001
From: wangjiahai <1556608@qq.com>
Date: Thu, 23 Nov 2023 17:16:57 +0800
Subject: [PATCH] 1111
---
.../components/uni-number-box/uni-number-box.vue | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue b/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue
index 42f7954..a07a5e1 100644
--- a/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue
+++ b/uni_modules/uni-number-box/components/uni-number-box/uni-number-box.vue
@@ -4,9 +4,9 @@
-
-
- {{inputValue}}
+ {{inputValue}}
+
@@ -65,6 +65,10 @@
disabled: {
type: Boolean,
default: false
+ },
+ showTextView: {
+ type: Boolean,
+ default: false
}
},
data() {
@@ -90,12 +94,6 @@
}
},
methods: {
- showText() {
- this.showText = true
- },
- showEdit() {
- this.showText = false
- },
_calcValue(type) {
if (this.disabled) {
return;