💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
## vue-router - hash 1. 默认是 hash 模式 2. **hash 部分发生变化时,页面不会重新加载** ## vue-router - history ~~~ const router = new VueRouter({ mode: 'history', routes: [...] }) ~~~ 1. **使用 history.pushState 完成页面的跳转,无需重新加载页面** 2. 需要后端也有一些配置 ~~~ // nginx location / { try_files $uri $uri/ /index.html; } ~~~