diff --git a/src/views/modules/honest/newshonest-add-or-update.vue b/src/views/modules/honest/newshonest-add-or-update.vue index 21e1178..93192eb 100644 --- a/src/views/modules/honest/newshonest-add-or-update.vue +++ b/src/views/modules/honest/newshonest-add-or-update.vue @@ -378,6 +378,7 @@ export default { }, // 表单提交 dataFormSubmitHandle: debounce(function () { + this.loading = true this.dataForm.newsProperty = this.$refs.newsCateroryName.selectedLabel this.dataForm.newsColumn = this.$refs.newsSubCateroryName.selectedLabel this.dataForm.newsApprovalState = '0' @@ -403,7 +404,10 @@ export default { this.dataForm = {} } }) - }).catch(() => { }) + this.loading = false + }).catch(() => { + this.loading = false + }) }) }, 1000, { 'leading': true, 'trailing': false }) },