Vue使用携带参数跳转页面
使用query传递参数地址栏可见
params传递不可见,类似post
如想用漂亮的可用包裹标签
<router-link :to="{path:'/test',query:{id:scope.row.id}}">
<el-button size="mini">传输ID</el-button>
</router-link>
Vue使用携带参数跳转页面
使用query传递参数地址栏可见
params传递不可见,类似post
如想用漂亮的可用包裹标签
<router-link :to="{path:'/test',query:{id:scope.row.id}}">
<el-button size="mini">传输ID</el-button>
</router-link>