点击实现路由跳转router.push

触发事件
<el-button type="primary" icon="mapLocation" @click="app">
方法
function app(){
  // ttt.value=false;
  router.push('/lenlian/msg')
}
这个路径/lenlian/msg浏览器vue页面地址路径

 

posted @ 2024-06-12 17:13  爱豆技术部  阅读(34)  评论(0)    收藏  举报