Skip to content

Commit a71cf22

Browse files
committed
fix(view): 开启 history 模式
1 parent cc352cd commit a71cf22

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)