From 08413f10a9b4833d0a00a3ee2a3ce629acc7bdd8 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 11 Mar 2021 16:14:32 +0800
Subject: [PATCH] 修改巡逻样式

---
 src/api/system/dept.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/api/system/dept.js b/src/api/system/dept.js
index 9f8da2b..592af3a 100644
--- a/src/api/system/dept.js
+++ b/src/api/system/dept.js
@@ -1,4 +1,5 @@
 import request from '@/router/axios';
+import Message from "element-ui/packages/message/src/main";
 
 export const getList = (current, size, params) => {
   return request({
@@ -86,8 +87,10 @@
 }
 // 封装api get请求
 export const fetch = (path, params) => {
+  let axios;
   return axios.get(path, {params: params}).then(res => {
     if (res.data.code === 403) {
+      let router;
       router.push({
         path: '/'
       });
@@ -103,4 +106,3 @@
     return Promise.reject(err);
   })
 }
-

--
Gitblit v1.9.3