mirror of
https://gitee.com/JavaLionLi/plus-ui.git
synced 2025-12-30 01:42:26 +00:00
fix 修复 代码漏改问题
This commit is contained in:
@@ -56,7 +56,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { authUnlock, authBinding } from '@/api/system/social/auth';
|
import { authUnlock, authRouterUrl } from '@/api/system/social/auth';
|
||||||
import { propTypes } from '@/utils/propTypes';
|
import { propTypes } from '@/utils/propTypes';
|
||||||
import { useUserStore } from '@/store/modules/user';
|
import { useUserStore } from '@/store/modules/user';
|
||||||
|
|
||||||
@@ -84,7 +84,7 @@ const unlockAuth = (row: any) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const authUrl = (source: string) => {
|
const authUrl = (source: string) => {
|
||||||
authBinding(source, useUserStore().tenantId).then((res: any) => {
|
authRouterUrl(source, useUserStore().tenantId).then((res: any) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
window.location.href = res.data;
|
window.location.href = res.data;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user