< el-submenu v-for="menuItem in navLinks": index="menuItem.path": key="menuItem.id" >
<template slot="title">{{menuItem.name}}</template>
</el-submenu>
**data:**
navLinks: {
name:"",
path:"enter",
subs:[{
name:"",
path:"http://cet.etest.net.cn/",
type:"out"
},{
name:"",
path:"http://jiaowu.sicau.edu.cn/xuesheng/kao/bao/kaike.asp",
type:"out"
},{
name:"",
path:"http://cjcx.neea.edu.cn/ncre/query.html",
type:"out"
}]
}
![][1]
the page path changes after clicking, but I want it to remain the same after clicking. What should I do?