Browse Source

Signed-off-by: Caner <5658514@qq.com>

Caner 3 years ago
parent
commit
03f299e688
3 changed files with 7 additions and 3 deletions
  1. 1 0
      .gitignore
  2. 4 1
      README.md
  3. 2 2
      src/pages/main.ts

+ 1 - 0
.gitignore

@@ -28,3 +28,4 @@ build/Release
 # https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
 node_modules
 .env.development
+dist

+ 4 - 1
README.md

@@ -4,5 +4,8 @@
 
 ```
 1. '/' 多人画板
-
+2. '/chart' echart 码数表
+3. '/edit' 富文本编辑
+4. '/fly' 二维动态导向
+5. '/move' 移动组件
 ```

+ 2 - 2
src/pages/main.ts

@@ -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
 })