mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 19:29:04 +08:00
fix: fix routing switch, tab is not activated
This commit is contained in:
@@ -239,14 +239,13 @@ export default defineComponent({
|
||||
) : (
|
||||
<section class={`basic-menu-wrap`}>
|
||||
{getSlot(slots, 'header')}
|
||||
{props.search && (
|
||||
<SearchInput
|
||||
theme={props.theme}
|
||||
onChange={handleInputChange}
|
||||
onClick={handleInputClick}
|
||||
collapsed={getCollapsedState}
|
||||
/>
|
||||
)}
|
||||
<SearchInput
|
||||
class={!props.search ? 'hidden' : ''}
|
||||
theme={props.theme}
|
||||
onChange={handleInputChange}
|
||||
onClick={handleInputClick}
|
||||
collapsed={getCollapsedState}
|
||||
/>
|
||||
<section style={unref(getMenuWrapStyle)}>
|
||||
<ScrollContainer>{() => renderMenu()}</ScrollContainer>
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user