current position:Home>Elementui used tabs to step on the pit

Elementui used tabs to step on the pit

2022-06-24 07:26:50Mr. Nyes


List of articles


When I was working on a project recently , Used elementUI, But in use tabs You can't jump to other pages after the tag , And it gets stuck .
Only need to <el-tabs></el-tabs> On the outside <el-row></el-row> You can solve it

<el-row>
   <el-col :span="24">
        <el-tabs :stretch="true" v-model="activeName" @tab-click="handleClick" router>
             <el-tab-pane label=" I am a " name="first"></el-tab-pane>
             <el-tab-pane label=" I am a " name="second"></el-tab-pane>
         </el-tabs>
   </el-col>
</el-row>

That's the end of this issue , Thank you for reading ! Leave a message if you have any questions , Reply in time


  • Pay attention to , Continuously update practical skills 、 Hot resources 、 Software tutorials, etc
  • There is anything Software Movies Just leave a message about the tutorial resources

copyright notice
author[Mr. Nyes],Please bring the original link to reprint, thank you.
https://en.qdmana.com/2022/175/202206240103046639.html

Random recommended