test(NavBar): update test cases

This commit is contained in:
chenjiahan
2020-11-14 07:06:21 +08:00
parent 2b34fac38d
commit 98c553de29
18 changed files with 82 additions and 73 deletions
+1 -3
View File
@@ -58,9 +58,7 @@ export default createComponent({
return slots.right();
}
if (props.rightText) {
return <span class={bem('text')}>{props.rightText}</span>;
}
return <span class={bem('text')}>{props.rightText}</span>;
};
const renderNavBar = () => {