Merge tag 'wjx202207281011' into develop

no message
This commit is contained in:
Jason
2022-07-28 10:15:02 +08:00
43 changed files with 63 additions and 64 deletions

View File

@@ -1,4 +1,4 @@
import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
import Layout from '@/layout/index.vue'
export const indexName = Symbol('index')
/**
@@ -87,7 +87,7 @@ export const constantRoutes: Array<RouteRecordRaw> = [
]
const router = createRouter({
history: createWebHashHistory(import.meta.env.BASE_URL),
history: createWebHistory(import.meta.env.BASE_URL),
routes: constantRoutes,
scrollBehavior(to, from, savedPosition) {
if (savedPosition) {