From 413e771cf893e7374dbdacad25b3f5f8f6d46cb7 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期三, 16 十月 2024 15:39:49 +0800
Subject: [PATCH] fix: 泊车修改车位页面
---
src/main.js | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/main.js b/src/main.js
index 320ac81..9b58c5f 100644
--- a/src/main.js
+++ b/src/main.js
@@ -76,19 +76,20 @@
// 閰嶇疆鏂囦欢
Vue.prototype.$systemconfig = {
// 鏈嶅姟绔矾寰�
- //basePath: 'http://183.196.93.178:8089',
- basePath:'http://127.0.0.1:8089'
+ basePath: 'http://183.196.93.178:8089',
+ // basePath:'http://192.168.0.40:8089'
}
Vue.prototype.$byutil = byUtils
Vue.prototype.$stringUtil = StringUtil
Vue.prototype.$tscPrintUtil = TscPrintUtil
// const rolesList = JSON.parse(localStorage.getItem('userRouters'))
//浣跨敤閽╁瓙鍑芥暟瀵硅矾鐢辫繘琛屾潈闄愯烦杞�
-// router.beforeEach((to, from, next) => {
-// let user = byUtils.getUser()
-// if (!user && to.path!== '/') {
-// next('/');
-// }
+router.beforeEach((to,from,next) => {
+ if(to.meta.title === '宄板嘲鐭垮尯鏅烘収鍋滆溅') {
+ document.title = to.meta.title
+ }
+ next();
+})
// console.log(to,"瑙﹀彂浜�",router.options.routes);
// // type 2 : all admin
--
Gitblit v1.9.1