循环的div绑路由
2019-06-27 本文已影响0人
布呐呐aa
methods :{
onSelectItem(itemids){
switch (itemids){
case 's01':
this.$router.push('/collect')
break
case 's02':
this.$router.push('/address')
break
case 's03':
this.$router.push('/invoice')
break
case 's04':
this.show = true
break
case 's05':
this.$router.push('/subscripte')
break
case 's06':
this.$router.push('/carts')
break
case 's07':
this.$router.push('/integral')
break
case 's08':
this.$router.push('/change')
break
}
}
}