vue页面跳转的两种方式
参考网址: https://www.jb51.net/article/160401.htm
1、利用router-link跳转
<el-table-column
prop="yhbh"
label="用户编号"
width="120">
<template slot-scope="scope">
<router-link class="link" title="点击查询用户信息" :to="{path:'yhxxcx',query:{yhbh:scope.row.yhbh}}" style="color:#409eff">{ { scope.row.yhbh}}</router-link>
</template>
</el-table-column>
2、jq代码进行跳转
this.$router.push({ path: '/mainLayout/tjtbjs', query:row})
还没有评论,来说两句吧...