import { getFetch } from '@/utils/doFetch';
import { useRequest } from 'ahooks';
import { Avatar, Table } from 'antd';
function User() {
const { data } = useRequest(async () => {
let res = await getFetch({ url: '/webtool/allusers', params: {} });
return res?.data;
});
const columns = [
{
title: '头像',
dataIndex: 'head_url',
key: 'head_url',
render: (text, row) => {
return