优化性能:直接查找需要移除的css样式

This commit is contained in:
Argo-Lenovo 2017-01-14 13:46:25 +08:00
parent 32bb4ddf00
commit 8c76c3f7d7
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
if ($this.hasClass('tipso_style')) $this.tipso('hide').tipso('destroy'); if ($this.hasClass('tipso_style')) $this.tipso('hide').tipso('destroy');
}) })
vf.resetForm(); vf.resetForm();
v.find('div.form-group').removeClass("has-error has-success"); v.find('.has-error, .has-success').removeClass("has-error has-success");
} }
}); });
} }