From f995772f300ffe07b0b567ed36ddf33edd893c2f Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期一, 15 四月 2024 23:12:40 +0800 Subject: [PATCH] # --- pages/phyz/mat/matSelected.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/phyz/mat/matSelected.vue b/pages/phyz/mat/matSelected.vue index 5ced9f1..8d66527 100644 --- a/pages/phyz/mat/matSelected.vue +++ b/pages/phyz/mat/matSelected.vue @@ -32,7 +32,7 @@ <view class="form-item"> <view class="form-item-desc"><text>鏁伴噺</text></view> <view class="form-item-content"> - <uni-number-box :value="mat.anfme" :max="99999999" :step='1' color="#747474" @change="changeValue" /> + <uni-number-box :value="mat.count" :max="99999999" :step='1' color="#747474" @change="changeValue" /> </view> </view> </view> @@ -56,7 +56,7 @@ maktx: null, specs: null, batch: null, - anfme: 0, + count: 0, }, baseIP:'', basePORT:'', @@ -77,7 +77,7 @@ eventChannel.on('item', function(data) { console.log(data); that.mat = data.item - that.mat.anfme = 0 + that.mat['count'] = 0 }) // #ifdef APP setInterval(()=>{ @@ -109,10 +109,10 @@ }, changeValue(value) { - this.mat.anfme = value + this.mat.count = value }, back() { - if (this.mat.anfme === 0) { + if (this.mat.count === 0) { uni.showToast({title: '璇疯緭鍏ユ暟閲�', icon: "none", position: 'top'}); return; } -- Gitblit v1.9.1