前端-路由跳转的两种方式
方式1:组件
<router-link :to="'/system/dict-data/index/' + scope.row.dictId" class="link-type">
<span>{{ scope.row.dictType }}</span>
</router-link>
1
2
3
2
3
方式2:编程式:
this.$router.push()
上次更新: 2025/04/03, 11:07:08
方式1:组件
<router-link :to="'/system/dict-data/index/' + scope.row.dictId" class="link-type">
<span>{{ scope.row.dictType }}</span>
</router-link>
方式2:编程式:
this.$router.push()