diff --git a/src/views/modules/points/volunteerinfo-points-adjust.vue b/src/views/modules/points/volunteerinfo-points-adjust.vue index 5c9bee14..0df92cdd 100644 --- a/src/views/modules/points/volunteerinfo-points-adjust.vue +++ b/src/views/modules/points/volunteerinfo-points-adjust.vue @@ -1,18 +1,18 @@ @@ -148,7 +158,7 @@ export default { ...this.dataForm, ...res.data } - }).catch(() => {}) + }).catch(() => { }) }, dataFormSubmitHandle: debounce(function () { this.$refs['dataForm'].validate(valid => { @@ -157,19 +167,19 @@ export default { } this.$http['post']( '/points/pointslogs/confirmAdjustPoint', this.dataForm).then(({ data: res }) => { - if (res.code !== 0) { - return this.$message.error(res.msg) - } - this.$message({ - message: this.$t('prompt.success'), - type: 'success', - duration: 500, - onClose: () => { - this.visible = false - this.$emit('refreshDataList') + if (res.code !== 0) { + return this.$message.error(res.msg) } - }) - }).catch(() => {}) + this.$message({ + message: this.$t('prompt.success'), + type: 'success', + duration: 500, + onClose: () => { + this.visible = false + this.$emit('refreshDataList') + } + }) + }).catch(() => { }) }, 1000, { 'leading': true, 'trailing': false }) }), getBehaviorTypeList () { @@ -181,7 +191,7 @@ export default { } this.behaviorTypeList = res.data }) - .catch(() => {}) + .catch(() => { }) } } }