Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker部署,表单构建和系统接口两个菜单功能异常 #219

Open
javasdd opened this issue Jul 28, 2023 · 2 comments
Open

Docker部署,表单构建和系统接口两个菜单功能异常 #219

javasdd opened this issue Jul 28, 2023 · 2 comments

Comments

@javasdd
Copy link

javasdd commented Jul 28, 2023

image

@javasdd
Copy link
Author

javasdd commented Jul 28, 2023

通过npm build构建出的dist目录,直接部署会出现以上问题。
const createRouter = () => new Router({
// mode: 'history', // require service support
scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes
})
修改 mode 后可以成功访问。有没有小伙伴解释一下这个问题?

@wenjianzhang
Copy link
Member

mode

只是区别路由模式,可以把,修改前修改后的url地址截图出来看看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants