实现跳转路由有以下步骤:
首先先将要跳转的文件创建好,然后写入route.js中
再需要跳转的页面写入跳转方法以及激发跳转的方式:
@click="goDetail('superviseCompany', index)" goDetail(name, index = 0) { if (index != 0) { return } this.$router.push({ name }) }点击所设定区域即可实现跳转
实现跳转路由有以下步骤:
首先先将要跳转的文件创建好,然后写入route.js中
再需要跳转的页面写入跳转方法以及激发跳转的方式:
@click="goDetail('superviseCompany', index)" goDetail(name, index = 0) { if (index != 0) { return } this.$router.push({ name }) }点击所设定区域即可实现跳转
版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。