添加统一前缀 test,当地址栏输入 localhost:8000/test/abc与 localhost:8000/abc访问看到的页面是一样的,请问,要如何处理这种情况?
const createRouter = () => new Router({ base: '/test/', mode: 'history' routes: routes});
2.1m questions
2.1m answers
60 comments
57.0k users