fix(profile): 暂不支持社交账号绑定提示

This commit is contained in:
dubai
2026-01-11 14:28:05 +08:00
parent d4678f2fe3
commit bd410087af

View File

@@ -4,7 +4,7 @@ import type { BindItem } from '../../oauth-common';
import type { SocialInfo } from '#/api/system/social/model'; import type { SocialInfo } from '#/api/system/social/model';
import { onMounted, ref } from 'vue'; import { onMounted, ref } from 'vue';
import { message } from 'ant-design-vue';
import { Alert, Avatar, Card, Empty, Modal, Tooltip } from 'ant-design-vue'; import { Alert, Avatar, Card, Empty, Modal, Tooltip } from 'ant-design-vue';
import { authUnbinding } from '#/api'; import { authUnbinding } from '#/api';
@@ -20,7 +20,15 @@ interface BindItemWithInfo extends BindItem {
const bindList = ref<BindItemWithInfo[]>([]); const bindList = ref<BindItemWithInfo[]>([]);
async function loadData() { async function loadData() {
const resp = await socialList();
// const resp = await socialList();
const resp = [];
// messgae提示暂不支持
message.error('暂不支持');
const list: BindItemWithInfo[] = [...accountBindList]; const list: BindItemWithInfo[] = [...accountBindList];
list.forEach((item) => { list.forEach((item) => {