xiatian 1 年之前
父节点
当前提交
57eea9f40f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/modules/portal/views/home/Home.vue

+ 2 - 2
src/modules/portal/views/home/Home.vue

@@ -322,12 +322,12 @@ export default {
       this.$refs.passForm.resetFields();
       this.$refs.passForm.resetFields();
     },
     },
     logout() {
     logout() {
-      const orgId = this.user.rootOrgId;
+      const rootOrgCode = this.user.rootOrgCode;
       const getRootOrgId = () => {
       const getRootOrgId = () => {
         if (location.hostname.includes("qmth.com.cn")) {
         if (location.hostname.includes("qmth.com.cn")) {
           return "";
           return "";
         } else {
         } else {
-          return "?orgId=" + orgId;
+          return "?code=" + rootOrgCode;
         }
         }
       };
       };