积分申请
This commit is contained in:
@@ -80,7 +80,9 @@ export default {
|
|||||||
if(!this.form.applyIntegral) {
|
if(!this.form.applyIntegral) {
|
||||||
return this.$u.toast('请输入积分数量')
|
return this.$u.toast('请输入积分数量')
|
||||||
}
|
}
|
||||||
|
if(!this.form.files.length) {
|
||||||
|
return this.$u.toast('请上传图片')
|
||||||
|
}
|
||||||
if(this.form.files.length) {
|
if(this.form.files.length) {
|
||||||
this.form.voucherImageUrl = this.form.files[0].url
|
this.form.voucherImageUrl = this.form.files[0].url
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -80,6 +80,9 @@ export default {
|
|||||||
if(!this.form.applyIntegral) {
|
if(!this.form.applyIntegral) {
|
||||||
return this.$u.toast('请输入积分数量')
|
return this.$u.toast('请输入积分数量')
|
||||||
}
|
}
|
||||||
|
if(!this.form.files.length) {
|
||||||
|
return this.$u.toast('请上传图片')
|
||||||
|
}
|
||||||
|
|
||||||
if(this.form.files.length) {
|
if(this.form.files.length) {
|
||||||
this.form.voucherImageUrl = this.form.files[0].url
|
this.form.voucherImageUrl = this.form.files[0].url
|
||||||
|
|||||||
Reference in New Issue
Block a user