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

@@ -65,6 +65,7 @@ export default {
userList: [],
showUserSelect: false,
params: {year: true, month: true, day: true, hour: false, minute: false, second: false},
isFlag: true
}
},
computed: {
@@ -93,8 +94,12 @@ export default {
return this.$u.toast(rules[v])
}
}
if(!this.isFlag) {
return
}
this.$http.post('/app/apppartyfourlinkage/addOrUpdate', {...this.form}).then(res => {
if (res.code == 0) {
this.isFlag = false
this.$u.toast('提交成功')
uni.$emit('reload')
setTimeout(() => {