修改文件

This commit is contained in:
PC-202306242200\Administrator
2024-09-12 18:35:51 +08:00
parent 8467bc3554
commit 8eda45d2e7
62 changed files with 606 additions and 233 deletions

View File

@@ -3,7 +3,7 @@ import { userPage, userUpPwd, userInfo, userUpdate, userAdd, userDelete } from '
import React, { useState, useRef, useEffect } from 'react';
import { useIntl, FormattedMessage, useAccess } from '@umijs/max';
import { Button, message, Modal, Tag,Image } from 'antd';
import { Button, message, Modal, Tag, Image } from 'antd';
import { ActionType, PageContainer, ProColumns, ProTable } from '@ant-design/pro-components';
import { PlusOutlined } from '@ant-design/icons';
import UpdateForm from './edit';
@@ -102,7 +102,7 @@ const UserTableList: React.FC = () => {
search: false,
render: (_: any, record: any) => {
return <div className='flex'>
<Image src={record.avatar} width={45} height={45}></Image>
<Image src={record.avatar} width={45} height={45}></Image>
<div>
<div>
{record.nickName}
@@ -223,6 +223,16 @@ const UserTableList: React.FC = () => {
}}
>
<PlusOutlined />
</Button>,
<Button
type="primary"
key="add"
onClick={async () => {
setCurrentRow(undefined);
setModalVisible(true);
}}
>
</Button>
]}
request={async (params, sorter, filter) => {