D4THYL3\long před 3 roky
rodič
revize
bb574d3522

+ 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();