Skip to content

Commit ee33d10

Browse files
committed
fix(view): 服务器暂未配置 history 模式
1 parent a71cf22 commit ee33d10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin/src/router/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const routeTest = [
126126
export const constantRouterMap = [...routeBase, ...routeTest]
127127

128128
export default new Router({
129-
mode: 'history', // 后端支持可开
129+
// mode: 'history', // 后端支持可开
130130
scrollBehavior: () => ({ y: 0 }),
131131
routes: constantRouterMap
132132
})

0 commit comments

Comments
 (0)