Browse Source

format

feature/yujt_analysis_pc
zhangyuan 5 years ago
parent
commit
628f09309d
  1. 6
      src/views/modules/activity/group-add-or-update.vue

6
src/views/modules/activity/group-add-or-update.vue

@ -239,13 +239,13 @@ export default {
},
//
dataFormSubmitHandle: debounce(function () {
this.disabled = true
this.disabled = true
this.$refs['dataForm'].validate((valid) => {
if (!valid) {
return false
}
this.$http[!this.dataForm.id ? 'post' : 'put']('/property/group/interest', this.dataForm).then(({ data: res }) => {
this.disabled = false
this.disabled = false
if (res.code !== 0) {
return this.$message.error(res.msg)
}
@ -259,7 +259,7 @@ export default {
}
})
}).catch(() => {
this.loading = false
this.loading = false
})
})
}, 1000, { 'leading': true, 'trailing': false })

Loading…
Cancel
Save