outstore
This commit is contained in:
@@ -31,7 +31,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': !index1 || !index2 || !val2}" :disabled="disabled" @tap="_yclck">确认</button>
|
||||
<button class="zd-col-15 submit-button_new" :class="{'btn-disabled': !index1 || !index2 || !val2 || !val3}" :disabled="disabled" @tap="_yclck">确认</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -80,12 +80,12 @@
|
||||
},
|
||||
async _yclck () {
|
||||
this.disabled = true
|
||||
if (!this.index1 || !this.index2 || !this.val2) {
|
||||
if (!this.index1 || !this.index2 || !this.val2 || !this.val3) {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
try {
|
||||
let res = await yclck(this.index1, this.index2, this.val2)
|
||||
let res = await yclck(this.index1, this.index2, this.val2, this.val3)
|
||||
this.disabled = false
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
Reference in New Issue
Block a user