0

<script src="https://cdn.jsdelivr.net/npm/...;></script>
<script src="https://unpkg.com/axios/dist/...;></script>
<script src="https://unpkg.com/vue-router/...;></script>

 var app = new Vue({
        el: '#app',
        data: {
            configinfo:[],
            productno:this.$route.params.id,
        },
        

想获取id的值

clipboard.png

1个回答

0

已采纳

没有通过router注入路由吧?!参考vue router文档

撰写答案