From 907dc4efb4ef6ef556549ba9a30da2ffa57d9901 Mon Sep 17 00:00:00 2001
From: 周旭湘 <3423729430@qq.com>
Date: 星期二, 07 五月 2024 17:39:43 +0800
Subject: [PATCH] update src/layout/components/AppMain.vue. 解决点击左边菜单时页面空白或者刷新整个页面的问题

---
 src/directive/index.ts |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/directive/index.ts b/src/directive/index.ts
index 500cf12..ef25ee8 100644
--- a/src/directive/index.ts
+++ b/src/directive/index.ts
@@ -3,7 +3,7 @@
 import { App } from 'vue';
 
 export default (app: App) => {
-	app.directive('copyText', copyText);
-	app.directive('hasPermi', hasPermi);
-	app.directive('hasRoles', hasRoles);
+  app.directive('copyText', copyText);
+  app.directive('hasPermi', hasPermi);
+  app.directive('hasRoles', hasRoles);
 };

--
Gitblit v1.9.3