no message
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
</view>
|
||||
<view class="zd-row submit-bar">
|
||||
<button class="zd-col-8 button-default" @tap="clearUp">清空</button>
|
||||
<button class="zd-col-15 button-primary" :class="{'button-info': !index}" :disabled="disabled" @tap="_slitterDown">确认下卷</button>
|
||||
<button class="zd-col-15 button-primary" :class="{'button-info': !index || !val1 || !val2}" :disabled="disabled" @tap="_slitterDown">确认下卷</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -109,7 +109,7 @@
|
||||
},
|
||||
async _slitterDown () {
|
||||
this.disabled = true
|
||||
if (!this.index) {
|
||||
if (!this.index || !this.val1 || !this.val2) {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user