hash模式和history模式
2020-03-12 本文已影响0人
混吃等死小前端
vue-router 默认 hash 模式。history模式使用需要后端支持
hash(#):http://localhost:8080/#/about
history:http://localhost:8080/about
vue-router 默认 hash 模式。history模式使用需要后端支持
hash(#):http://localhost:8080/#/about
history:http://localhost:8080/about