Explorar o código

修改发布bug

D4THYL3\long %!s(int64=3) %!d(string=hai) anos
pai
achega
bb574d3522
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();