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