This commit is contained in:
liuye
2022-04-20 16:25:50 +08:00
parent e4a7065e85
commit b2422208c0
3 changed files with 16 additions and 1 deletions

View File

@@ -55,6 +55,7 @@ export default {
integral: '',
remark: '',
},
isFlag: true
}
},
computed: {
@@ -82,10 +83,14 @@ export default {
return this.$u.toast(rules[v])
}
}
if(!this.isFlag) {
return
}
this.$http.post('/app/apppartyintegralinfo/add', {
partyIntegralList: [{...this.form}],
}).then(res => {
if (res.code == 0) {
this.isFlag = false
this.$u.toast('提交成功')
uni.$emit('reload')
setTimeout(() => {