I have the following configuration. If the page jumps, then path
will pass in a true.
{
icon: "ios-barcode",
size: "30",
color: "-sharpff9900",
path: "/home/aftersale_physicalserver_workpanel/true",
name: "" + " (" + used_count + ") ", //
},
my problem is that only one parameter can be passed in here.
how does such a configuration vue-router
pass multiple parameters?
Edit 1
when I use it in the template, it goes like this: router-link
Jump:
<router-link :to="item.path">
<span class="icon">
<Icon :type="item.icon" :size="item.size" :color="item.color"></Icon>
</span>
<div class="icon-title">
<h3>{{item.name}}</h3>
</div>
</router-link>