bug
This commit is contained in:
@@ -39,7 +39,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 || !val3}" :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>
|
||||
@@ -96,7 +96,7 @@
|
||||
},
|
||||
async _yclck () {
|
||||
this.disabled = true
|
||||
if (!this.index1 || !this.index2 || !this.val2 || !this.val3) {
|
||||
if (this.index1 === '' || !this.index2 || !this.val2 || !this.val3) {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user