Commit 85c6145d authored by 前端-许佳敏's avatar 前端-许佳敏
parents c0072c51 bbc8a35c
......@@ -65,24 +65,24 @@ const columns: ColumnType<any>[] = [
}
]
// 模拟请求
const fetchData = (params: any) => {
return new Promise((resolve, reject) => {
const queryResult = data.find(v => v.key === params.keywords)
setTimeout(() => {
resolve({
code: 200,
message: '',
data: queryResult ? [queryResult] : data
})
}, 1000)
})
}
// const fetchData = async (params) =>{
// const res = await PublicApi.getMemberManageLowerPageBynamerole(params)
// return res.data
// const fetchData = (params: any) => {
// return new Promise((resolve, reject) => {
// const queryResult = data.find(v => v.key === params.keywords)
// setTimeout(() => {
// resolve({
// code: 200,
// message: '',
// data: queryResult ? [queryResult] : data
// })
// }, 1000)
// })
// }
const fetchData = async (params) =>{
const res = await PublicApi.getMemberManageLowerPageBynamerole(params)
return res.data
}
const { Option } = Select;
const defaultValue = 'lucy'
......@@ -240,6 +240,7 @@ const company: React.FC<{}> = () => {
(<Form
form={menuForm}
colon={false}
name="edit_infomation"
layout="horizontal"
labelAlign="left"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment