vue-router 20 next 函数怎么携带参数

如题所述

{{eltourism_name}} {{eltog_line_id}} {{eladdress}} 在组件中,需要传动态参数时,可以如上例子 query中的参数id就是要传的参数,在组件中获取的方法为: created: function() { var id = this$routequeryid; thisgetData(id);vue-router 20 next 函数怎么携带参数
温馨提示:答案为网友推荐,仅供参考
相似回答