From 0ecf7b3bc6d6a008a804d55c859833bf2cf6473a Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期三, 22 十一月 2023 10:06:29 +0800
Subject: [PATCH] 1.增加了有效率异常展示页面 2.风险模型的所属场景和运维商的详细信息,以及1个跳转页面链接 3.飞行巡检页面增加增加地址和运维商的筛选条件 4.飞行巡检页面是最新当日日期时,每类异常右上角增加一个“辅助审核” 5.历史数据管理增加 站点总数

---
 src/main.js |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/main.js b/src/main.js
index 04920ab..f31b214 100644
--- a/src/main.js
+++ b/src/main.js
@@ -8,10 +8,10 @@
 import { ElMessage } from 'element-plus'
 // 鍏ㄥ眬寮曞叆鏍峰紡
 import 'element-plus/theme-chalk/src/index.scss'
-import pinia from './stores/index';
-import { useLoadingStore } from "@/stores/loadingStore";
+import { createPinia } from 'pinia'
 
 const app = createApp(App)
+const pinia = createPinia()
 
 router.beforeEach((to,from,next)=>{
   const token = Cookie.get('token')
@@ -27,16 +27,16 @@
 })
 
 
-const loadingStore = useLoadingStore(pinia)
-router.afterEach((to, from) => {
-  loadingStore.clearLoading()
-})
+
+
 
 
 // 鏈湴
 // axios.defaults.baseURL = 'http://localhost:8081'
 // 閮ㄧ讲
 axios.defaults.baseURL = 'http://114.215.109.124:8803'
+
+// axios.defaults.baseURL = 'http://192.168.1.8:8081'
 app.config.globalProperties.$http = axios
 
 app.use(ElMessage)

--
Gitblit v1.9.3