组盘绑定
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
</view>
|
||||
<view class="zd-row submit-bar_new">
|
||||
<button class="zd-col-7 submit-button_c" @tap="toClear">清空</button>
|
||||
<button class="zd-col-15 submit-button_new" :class="{'btn-disabled': !val1 || !val2}" :disabled="disabled" @tap="_zpjb">确认</button>
|
||||
<button class="zd-col-15 submit-button_new" :class="{'btn-disabled': !(val1 || val2)}" :disabled="disabled" @tap="_zpjb">确认</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -71,7 +71,7 @@
|
||||
},
|
||||
async _zpjb () {
|
||||
this.disabled = true
|
||||
if (!this.val1 || !this.val2) {
|
||||
if (!(this.val1 || this.val2)) {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user