兰宝车间质量管理系统-前端
疯狂的狮子Li
2024-06-20 abb4f543b954ce6c448b7198626847c1ef2f284f
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;
@@ -83,7 +84,7 @@
};
const authUrl = (source: string) => {
  authBinding(source).then((res: any) => {
  authBinding(source, useUserStore().tenantId).then((res: any) => {
    if (res.code === 200) {
      window.location.href = res.data;
    } else {