Browse Source

修改发布bug

D4THYL3\long 3 years ago
parent
commit
bb574d3522
1 changed files with 1 additions and 1 deletions
  1. 1 1
      operationSupport/src/views/propertyManagement/inform.vue

+ 1 - 1
operationSupport/src/views/propertyManagement/inform.vue

@@ -769,7 +769,6 @@ export default {
          * @return {void}
          * */
         dialogButton(type) {
-            this.$refs['ruleForm'].resetFields();
             if (type === 'prev') {
                 this.$refs['ruleForm'].validate((valid) => {
                     if (valid) {
@@ -811,6 +810,7 @@ export default {
                 });
             } else if (type == 'clear') {
                 this.centerDialogVisible = false;
+                this.$refs['ruleForm'].resetFields();
             } else {
                 this.centerDialogVisible = false;
                 this.$refs['ruleForm'].resetFields();