no message
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
</view>
|
||||
<view class="zd-row submitbar">
|
||||
<button class="zd-col-6 btn-submit btn-default" @tap="clearUp">清空</button>
|
||||
<button class="zd-col-15 btn-submit btn-success" :class="{'btn-info': !val1 || !index}" :disabled="disabled" @tap="_updatePackageInfo">确认</button>
|
||||
<button class="zd-col-15 btn-submit btn-success" :class="{'btn-info': !val1 && !index1}" :disabled="disabled" @tap="_updatePackageInfo">确认</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -60,7 +60,7 @@
|
||||
},
|
||||
async _updatePackageInfo () {
|
||||
this.disabled = true
|
||||
if (!this.val1 || !this.index) {
|
||||
if (!this.val1 && !this.index1) {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user