this.$router.push({
name: 'A',
query: {
id: 1,
name: 'a',
}
});
this.$router.push({
name: 'B',
params: {
id: 1,
name: 'b',
}
});
除了地址不一样外? 区别在哪? 感觉这2个的作用是一样的。
什么时候用query 什么时候用 params, 还是2个基本一样?
哆啦的时光机
Type assertion 和 Type casting 的区别在哪里?
thinkphp3.2和thinkphp5.0区别在哪里
除法和取余的区别在哪里
display:inline-block和 display:inline区别在哪里?
相关分类