赞
踩
<el-tabs v-model="activeName" style="pointer-events: none;">
<el-tab-pane label="用户管理" name="first" style="pointer-events: auto;">用户管理</el-tab-pane>
<el-tab-pane label="系统管理" name="second" style="pointer-events: auto;">配置管理</el-tab-pane>
<el-tab-pane label="角色管理" name="third" style="pointer-events: auto;">角色管理</el-tab-pane>
</el-tabs>
<el-tabs v-model="activeName" tabPane="tabPane">
activeName: "first", // 定义数据,默认展示第一个
tabPane() {
if (xxx === "y") {
this.activeName = "second";
} else (xxxx === "y") {
this.activeName = "third";
}
},
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。