Browse Source

修复退出登录跳转页面

natasha 1 year ago
parent
commit
342030aecf
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/components/Header.vue
  2. 1 1
      src/components/Setting.vue

+ 1 - 1
src/components/Header.vue

@@ -62,7 +62,7 @@ export default {
       Cookies.remove("user_type");
       sessionStorage.removeItem("useragent_root_close");
       this.userMessage = null;
-      window.location.href = "/";
+      window.location.href = "https://21st.helxsoft.cn/21st_manager/#/login";
     },
     handleLink(link,type){
         this.$router.push({

+ 1 - 1
src/components/Setting.vue

@@ -157,7 +157,7 @@
                             <td>查看兑换码使用情况</td>
                         </tr>
                         <tr>
-                            <td><el-checkbox v-model="manageAuth" :label="30001"><br/></el-checkbox></td>
+                            <td><el-checkbox v-model="manageAuth" :label="30001" :disabled="page==='personal'?true:false"><br/></el-checkbox></td>
                             <td>
                                 <el-radio-group v-model="codeAuth.viewCode" :disabled="page==='personal'?true:false">
                                     <el-radio :label="1">全部</el-radio>