chore: adjust code

This commit is contained in:
chenjiahan
2020-09-04 15:33:35 +08:00
parent 82ac453910
commit 3c415c42d0
5 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ export default createComponent({
const text = slots.error ? slots.error() : props.errorText;
if (text) {
return (
<div onClick={clickErrorText} class={bem('error-text')}>
<div class={bem('error-text')} onClick={clickErrorText}>
{text}
</div>
);