use the tab page of element ui to switch the sidebar. The code is as follows:
:
:
I think it should be a grammar problem, but I don"t know what"s wrong with it. Can I have a look at it?
use the tab page of element ui to switch the sidebar. The code is as follows:
:
:
I think it should be a grammar problem, but I don"t know what"s wrong with it. Can I have a look at it?
through routing control, you can refer to
<div class="content">
<left-menu class="left-menu"></left-menu>
<div class="right-content">
<el-tabs v-show="tabList.length>0" v-model="tabValue" type="border-card" closable
@contextmenu.prevent.native=" showMenu "
@tab-click="onTabClick" @tab-remove="removeTab">
<el-tab-pane
v-for="(item, index) in tabList"
:key="index"
:label="item.title"
:name="item.name"
>
</el-tab-pane>
</el-tabs>
<keep-alive :include="includes">
<router-view class="r-content"></router-view>
</keep-alive>
</div>
</div>
Hello, have you solved this problem?