|
|
@@ -1,7 +1,7 @@
|
|
|
import { createApp } from 'vue'
|
|
|
import App from './App.vue'
|
|
|
import { createPinia } from 'pinia'
|
|
|
-import { createRouter, createWebHistory } from 'vue-router'
|
|
|
+import { createRouter, createWebHashHistory } from 'vue-router'
|
|
|
// 富文本注册自定义按钮
|
|
|
import '@/utils/registerMenu'
|
|
|
// 动态路由
|
|
|
@@ -10,7 +10,7 @@ routes.push({ path: '/:path(.*)', redirect: '/' })
|
|
|
const store = createPinia()
|
|
|
const app = createApp(App)
|
|
|
const router = createRouter({
|
|
|
- history: createWebHistory(),
|
|
|
+ history: createWebHashHistory(),
|
|
|
routes
|
|
|
})
|
|
|
|