Browse Source

切换本地开发配置

shenji 2 năm trước cách đây
mục cha
commit
397f1e9369

+ 2 - 2
src/components/tools/UserMenu.vue

@@ -181,10 +181,10 @@
           content: '真的要注销登录吗 ?',
           onOk() {
             return that.Logout({}).then(() => {
-              // window.location.href="/";
+              window.location.href="/";
               //window.location.reload()
                 //博物馆单点登录注销
-                window.location.href="http://172.18.91.12:8888/sso";
+                // window.location.href="http://172.18.91.12:8888/sso";
             }).catch(err => {
               that.$message.error({
                 title: '错误',

+ 1 - 1
src/config/router.config.js

@@ -299,7 +299,7 @@ export const constantRouterMap = [
     component: UserLayout,
     redirect: '/user/login',
     // 博物馆单点登录
-    component: () => import('@/views/Index'),
+    // component: () => import('@/views/Index'),
     hidden: true,
     children: [
       {

+ 2 - 2
src/store/modules/user.js

@@ -236,9 +236,9 @@ const user = {
         logout(logoutToken).then(() => {
             let sevice = 'http://' + window.location.host + '/'
             let serviceUrl = encodeURIComponent(sevice)
-            // window.location.href = window._CONFIG['casPrefixUrl']+"/logout?service="+serviceUrl;
+            window.location.href = window._CONFIG['casPrefixUrl']+"/logout?service="+serviceUrl;
               //博物馆单点登录注销
-            window.location.href="http://172.18.91.12:8888/sso";
+//             window.location.href="http://172.18.91.12:8888/sso";
             // resolve()
         }).catch(() => {
           console.log("111111111111111")

+ 2 - 2
url.config.js

@@ -1,9 +1,9 @@
 export function getEditorJumpUrl () {
-    // let url = 'http://localhost:8080'
+    let url = 'http://localhost:8080'
     //let url ="http://106.15.206.14:8089";//测试服务器
     // let url ="http://192.168.1.158:8089";//森宇服务器
     // let url = "http://220.191.168.86:18089" // 森语外网
-    let url = 'http://172.18.91.36:8082' // 博物馆OA
+    // let url = 'http://172.18.91.36:8082' // 博物馆OA
     return url
   }