132
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
</view>
|
||||
<view class="zd-row submitbar">
|
||||
<button class="zd-col-6 btn-submit btn-default letter-30" @tap="clearUp">清空</button>
|
||||
<button class="zd-col-15 btn-submit btn-success letter-30" :class="{'btn-info': !index || !size1 || !size2}" :disabled="disabled" @tap="toSure">退轴</button>
|
||||
<button class="zd-col-15 btn-submit btn-success letter-30" :class="{'btn-info': !index || (!size1 && !size2)}" :disabled="disabled" @tap="toSure">退轴</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -129,7 +129,7 @@
|
||||
},
|
||||
toSure () {
|
||||
this.disabled = true
|
||||
if (!this.index || !this.size1 || !this.size2) {
|
||||
if (!this.index || (!this.size1 && !this.size2)) {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user