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;