whj 1 year ago
parent
commit
0e0d782331
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/idle-assets/modules/BaseForm.vue

+ 2 - 1
src/views/idle-assets/modules/BaseForm.vue

@@ -186,7 +186,7 @@ export default {
     },
     },
     save () {
     save () {
       const { form: { validateFieldsAndScroll } } = this
       const { form: { validateFieldsAndScroll } } = this
-      // this.confirmLoading = true
+      this.confirmLoading = true
       validateFieldsAndScroll((errors, values) => {
       validateFieldsAndScroll((errors, values) => {
         if (errors) {
         if (errors) {
           Object.values(errors).map(item => {
           Object.values(errors).map(item => {
@@ -213,6 +213,7 @@ export default {
     handleCancel (values) {
     handleCancel (values) {
       this.visible = false
       this.visible = false
       this.modal = {}
       this.modal = {}
+      this.confirmLoading = false
       this.sbInfoDTOS = []
       this.sbInfoDTOS = []
       this.form.resetFields()
       this.form.resetFields()
       this.$emit('ok', values)
       this.$emit('ok', values)