test(NavBar): update test cases
This commit is contained in:
@@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user