103
This commit is contained in:
@@ -35,7 +35,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 || !val2 || !val3 || !val4}" :disabled="disabled" @tap="_yclrk">确认</button>
|
||||
<button class="zd-col-15 submit-button_new" :class="{'btn-disabled': !index1 || !val2 || !val4}" :disabled="disabled" @tap="_yclrk">确认</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -84,7 +84,7 @@
|
||||
},
|
||||
async _yclrk () {
|
||||
this.disabled = true
|
||||
if (!this.index1 || !this.val2 || !this.val3 || !this.val4) {
|
||||
if (!this.index1 || !this.val2 || !this.val4) {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user