YaolongHan 4 years ago
parent
commit
8240c4eb13
3 changed files with 4 additions and 4 deletions
  1. 1 1
      public/index.html
  2. 1 1
      src/components/404.vue
  3. 2 2
      src/store/index.js

+ 1 - 1
public/index.html

@@ -124,7 +124,7 @@
             it to continue.</strong>
     </noscript>
     <!-- 置顶条问题 -->
-    <div style="height:26px;background-color:#efefef;padding:0 10px" id="wd"></div>
+    <!-- <div style="height:26px;background-color:#efefef;padding:0 10px" id="wd"></div> -->
     <div id="app"></div>
 
 </body>

+ 1 - 1
src/components/404.vue

@@ -29,7 +29,7 @@ export default {
     methods: {
         goLogin() {
             let ssoServer = ''
-            if (location.host == 'http://glsms.wanda-dev.cn') {
+            if (window.location.host == 'http://glsms.wanda-dev.cn') {
                 ssoServer = 'http://oauth.wanda-dev.cn'
             } else {
                 ssoServer = 'http://oauth.wanda.cn'

+ 2 - 2
src/store/index.js

@@ -8,9 +8,9 @@ import router from '../router'
 Vue.use(Vuex)
 export default new Vuex.Store({
     state: {
-        ssoToken: 'admin:chuyushu',
+        // ssoToken: 'admin:chuyushu',
         // ssoToken: '',
-        // ssoToken: null,
+        ssoToken: null,
         plazaName: '',
         isPreview: false,
         lastRoute: '',