方案一 (这种方式容易被第三方劫持)
1 2 3 4 5 |
|
方案二
1 2 3 4 5 6 7 8 |
|
方案三 (vue.js官方教程里提到的https://router.vuejs.org/zh-cn/essentials/history-mode.html)
1 2 3 4 5 6 7 8 9 10 11 12 |
|
参考以下两位大神的博客:
1 2 |
|
方案一 (这种方式容易被第三方劫持)
1 2 3 4 5 |
|
方案二
1 2 3 4 5 6 7 8 |
|
方案三 (vue.js官方教程里提到的https://router.vuejs.org/zh-cn/essentials/history-mode.html)
1 2 3 4 5 6 7 8 9 10 11 12 |
|
参考以下两位大神的博客:
1 2 |
|