Browse Source

调整顺序

wolyshaw 4 năm trước cách đây
mục cha
commit
13121c2491
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/components/save-form/index.vue

+ 1 - 1
src/components/save-form/index.vue

@@ -42,9 +42,9 @@ export default {
       })
     },
     resetFields() {
+      this.$refs.form.resetFields()
       this.searchs.update(this.model, undefined, 'form')
       this.searchs.update({}, undefined, 'page')
-      this.$refs.form.resetFields()
     }
   },
 }