Some registration pages of vue and angular have id registration. How can the url parameter be placed after the anchor point?

the general jump address is 127.0.0.1 http://127.0.0.1" 8080 jump address 123456,
and then becomes http://127.0.0.1:8080/?id=123456-sharp/index/home
. How can I put the id=123456 at the end?


clipboard.png

<router-link :to="{path:'storeIndex',query:{storeId:item.id}}" exact></router-link>

or

this.$router.push({
  path: "orderSettlement",
  query: {
      id: goodId,
      optionid: optionid,
      total: goods_num
  }
});
Menu