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