- 最近在使用vue开发,一个vue组件间的跳转方法:
- 跳转方法实现:
jump:function (type) {
switch (type) {
case 0:
this.$router.push('/indexws')
break;
}
}
jump:function (type) {
switch (type) {
case 0:
this.$router.push('/indexws')
break;
}
}