fix(profile): 暂不支持社交账号绑定提示
This commit is contained in:
@@ -4,7 +4,7 @@ import type { BindItem } from '../../oauth-common';
|
||||
import type { SocialInfo } from '#/api/system/social/model';
|
||||
|
||||
import { onMounted, ref } from 'vue';
|
||||
|
||||
import { message } from 'ant-design-vue';
|
||||
import { Alert, Avatar, Card, Empty, Modal, Tooltip } from 'ant-design-vue';
|
||||
|
||||
import { authUnbinding } from '#/api';
|
||||
@@ -20,7 +20,15 @@ interface BindItemWithInfo extends BindItem {
|
||||
const bindList = ref<BindItemWithInfo[]>([]);
|
||||
|
||||
async function loadData() {
|
||||
const resp = await socialList();
|
||||
|
||||
// const resp = await socialList();
|
||||
|
||||
const resp = [];
|
||||
// messgae提示,暂不支持
|
||||
message.error('暂不支持');
|
||||
|
||||
|
||||
|
||||
|
||||
const list: BindItemWithInfo[] = [...accountBindList];
|
||||
list.forEach((item) => {
|
||||
|
||||
Reference in New Issue
Block a user