Vue 前端 跳转页面并携带参数

// router.js 内容
{
path: ‘archivesManagement’,
component: Layout,
hidden: true,
redirect: ‘noredirect’,
children: [
{
path: ‘validArchivesLog’,
component: (resolve) => require([’@/views/archivesManagement/validArchivesLog’], resolve),
name: ‘validArchivesLog’,
meta: { title: ‘生效客户档案修改日志’ }
}
]
}
// 跳转页面代码
showUpdateLog(archivesManagementId) {
this.KaTeX parse error: Expected 'EOF', got '}' at position 102: …mentId }}) }̲, // 跳转到页面接受参数 …route.params.archivesManagementId
},

猜你喜欢

转载自blog.csdn.net/weixin_45876619/article/details/107767584