最新版的vue-router将unused params删除了,请问如何替代? #6703
Unanswered
spicetang
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
vuejs/router@e887570
最新版的vue-router将unused params删除了,但是替代方法只是说改为采用query传递方式,但是query方式是采用url拼接的方式传递至子组件的,这就有可能会出现url超过长度,被截取的情况;例如我们将前一页面的列表数据直接整体传入子组件,以减少前后端请求,这样会有大量的参数,请问如何替代unused params使其used呢?
Beta Was this translation helpful? Give feedback.
All reactions