title: How to hold URL query params in Vue with Vue-Router
body: <p>I am doing a project in Vue with Vue-Router . in my project ,i have a param named 'adtag' , which must be in the url query params , is there any simple way to hold this param ,no mater how router goes.</p>
  
  <p>for example , I have three pages:</p>
  
  <ol>
  <li>localhost/index</li>
  <li>localhost/list</li>
  <li>localhost/detail?id=11</li>
  </ol>
  
  <p>page change using vue-router <code>&lt;router-link :to="{name:'Detail',query:{id:item.id}}"&gt;&lt;/router-link&gt;</code></p>
  
  <p>if I opened first page <code>localhost/index?adtag=123</code> with adtag,page will changes with param 'adtag' </p>
  
  <ol>
  <li>localhost/index?adtag=123</li>
  <li>localhost/list?adtag=123</li>
  <li>localhost/detail?adtag=123&amp;id=11</li>
  </ol>