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