兰宝车间质量管理系统-前端
疯狂的狮子Li
2024-06-18 3e7c2f26fa1bfed32ad8e00919edf3ab71930fe4
src/views/system/user/profile/thirdParty.vue
@@ -58,6 +58,7 @@
<script lang="ts" setup>
import { authUnlock, authBinding } from '@/api/system/social/auth';
import { propTypes } from '@/utils/propTypes';
import useUserStore from "@/store/modules/user";
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@@ -85,7 +86,7 @@
const authUrl = (source: string) => {
  authBinding(source).then((res: any) => {
    if (res.code === 200) {
      window.location.href = res.data;
      window.location.href = res.data + '&tenantId=' + useUserStore().tenantId;
    } else {
      proxy?.$modal.msgError(res.msg);
    }