积分申请

This commit is contained in:
liuye
2023-05-17 16:04:16 +08:00
parent b736e9044a
commit 37280c9a89
2 changed files with 6 additions and 1 deletions

View File

@@ -80,7 +80,9 @@ export default {
if(!this.form.applyIntegral) {
return this.$u.toast('请输入积分数量')
}
if(!this.form.files.length) {
return this.$u.toast('请上传图片')
}
if(this.form.files.length) {
this.form.voucherImageUrl = this.form.files[0].url
}

View File

@@ -80,6 +80,9 @@ export default {
if(!this.form.applyIntegral) {
return this.$u.toast('请输入积分数量')
}
if(!this.form.files.length) {
return this.$u.toast('请上传图片')
}
if(this.form.files.length) {
this.form.voucherImageUrl = this.form.files[0].url