|
@ -378,6 +378,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
// 表单提交 |
|
|
// 表单提交 |
|
|
dataFormSubmitHandle: debounce(function () { |
|
|
dataFormSubmitHandle: debounce(function () { |
|
|
|
|
|
this.loading = true |
|
|
this.dataForm.newsProperty = this.$refs.newsCateroryName.selectedLabel |
|
|
this.dataForm.newsProperty = this.$refs.newsCateroryName.selectedLabel |
|
|
this.dataForm.newsColumn = this.$refs.newsSubCateroryName.selectedLabel |
|
|
this.dataForm.newsColumn = this.$refs.newsSubCateroryName.selectedLabel |
|
|
this.dataForm.newsApprovalState = '0' |
|
|
this.dataForm.newsApprovalState = '0' |
|
@ -403,7 +404,10 @@ export default { |
|
|
this.dataForm = {} |
|
|
this.dataForm = {} |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}).catch(() => { }) |
|
|
this.loading = false |
|
|
|
|
|
}).catch(() => { |
|
|
|
|
|
this.loading = false |
|
|
|
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}, 1000, { 'leading': true, 'trailing': false }) |
|
|
}, 1000, { 'leading': true, 'trailing': false }) |
|
|
}, |
|
|
}, |
|
|