From 660b451f0d8cfb5550a10f281984be402c81750d Mon Sep 17 00:00:00 2001
From: zhangxiao <898441624@qq.com>
Date: 星期三, 18 九月 2024 16:59:28 +0800
Subject: [PATCH] 为机构管理添加拖拽功能锁定按钮与权限限制

---
 src/router/index.ts |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/router/index.ts b/src/router/index.ts
index e230a4b..0644622 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -1,4 +1,4 @@
-import { createRouter, createWebHistory } from 'vue-router';
+import { createRouter, createWebHistory,createWebHashHistory } from 'vue-router';
 import NProgress from 'nprogress'; // progress bar
 import 'nprogress/nprogress.css';
 
@@ -9,7 +9,8 @@
 NProgress.configure({ showSpinner: false }); // NProgress Configuration
 
 const router = createRouter({
-  history: createWebHistory(),
+  //history: createWebHistory(),
+  history: createWebHashHistory(),
   routes: [
     {
       path: '/',

--
Gitblit v1.8.0