diff --git a/.env.production b/.env.production
index 6f8ae33..3198248 100644
--- a/.env.production
+++ b/.env.production
@@ -5,15 +5,15 @@ NODE_ENV = production
VUE_APP_TITLE = 象纬云科
# 测试环境
- VUE_APP_API_BASEURL = https://dev.api.linkwing.com/api/v1
- VUE_APP_API_DEV = https://dev.api.linkwing.com/api/v1
- VUE_APP_WS_URL = wss://dev.api.linkwing.com/wss
- VUE_APP_WSS_URL = wss://dev.api.linkwing.com/wss
+# VUE_APP_API_BASEURL = https://dev.api.linkwing.com/api/v1
+# VUE_APP_API_DEV = https://dev.api.linkwing.com/api/v1
+# VUE_APP_WS_URL = wss://dev.api.linkwing.com/wss
+# VUE_APP_WSS_URL = wss://dev.api.linkwing.com/wss
# 线上环境
# 接口地址 # WS地址
-# VUE_APP_API_BASEURL = https://prod.api.linkwing.com/api/v1
-# VUE_APP_API_DEV = https://prod.api.linkwing.com/api/v1
-# VUE_APP_WS_URL = wss://prod.api.linkwing.com/wss
-# VUE_APP_WSS_URL = wss://prod.api.linkwing.com/wss
+ VUE_APP_API_BASEURL = https://prod.api.linkwing.com/api/v1
+ VUE_APP_API_DEV = https://prod.api.linkwing.com/api/v1
+ VUE_APP_WS_URL = wss://prod.api.linkwing.com/wss
+ VUE_APP_WSS_URL = wss://prod.api.linkwing.com/wss
diff --git a/src/router/index.js b/src/router/index.js
index d5823d1..44e3f3d 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -47,8 +47,14 @@ router.beforeEach(async (to, from, next) => {
next();
return false;
}
-
+ // console.log(routes,to,6999)
if(routes.findIndex(r => r.path === to.path) >= 0){
+ // if(to.toShow && !token){
+ // next({
+ // path: '/login'
+ // });
+ // return false;
+ // }
next();
return false;
}
diff --git a/src/router/systemRouter.js b/src/router/systemRouter.js
index 1ef92f7..dcf2e46 100644
--- a/src/router/systemRouter.js
+++ b/src/router/systemRouter.js
@@ -21,7 +21,7 @@ const routes = [
component:()=>import(/* webpackChunkName: "bindWechat" */ '@/views/login/bindWechat'),
meta:{
title:'绑定微信'
- }
+ },
},
{
path:"/bind_dingtalk",
@@ -56,21 +56,24 @@ const routes = [
component: () => import(/* webpackChunkName: "serveView" */ '@/views/serveView'),
meta: {
title: "信息服务"
- }
+ },
+ tokenShow:true
},
{
path: "/maintenance",
component: () => import(/* webpackChunkName: "serveView" */ '@/views/maintenance'),
meta: {
title: "维保服务"
- }
+ },
+ tokenShow:true
},
{
path: "/personalCenter",
component: () => import(/* webpackChunkName: "personalCenter" */ '@/views/personalCenter'),
meta: {
title: "个人中心"
- }
+ },
+ tokenShow:true
},
]
diff --git a/src/views/personalCenter/components/editAccount.vue b/src/views/personalCenter/components/editAccount.vue
index 7f5f9fd..3e5d580 100644
--- a/src/views/personalCenter/components/editAccount.vue
+++ b/src/views/personalCenter/components/editAccount.vue
@@ -26,8 +26,70 @@
{{bind_wechat_error}},请先解绑原账号绑定
++ 请使用微信扫一扫绑定 +
+账号信息用于登录,系统不允许修改
-账号信息用于登录,系统不允许修改
+