1
This commit is contained in:
2
dist/index.html
vendored
2
dist/index.html
vendored
@@ -8,6 +8,6 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
<script src="/umi.61cd44ec.js"></script>
|
<script src="/umi.2c941af4.js"></script>
|
||||||
|
|
||||||
</body></html>
|
</body></html>
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
dist/src__pages__order__index.ec98f043.async.js
vendored
Normal file
1
dist/src__pages__order__index.ec98f043.async.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/src__pages__system__role__edit.472af525.async.js
vendored
Normal file
1
dist/src__pages__system__role__edit.472af525.async.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
dist/src__pages__system__role__index.696f9b36.async.js
vendored
Normal file
1
dist/src__pages__system__role__index.696f9b36.async.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
dist/umi.61cd44ec.js → dist/umi.2c941af4.js
vendored
2
dist/umi.61cd44ec.js → dist/umi.2c941af4.js
vendored
File diff suppressed because one or more lines are too long
@@ -111,7 +111,7 @@ const MenuTableList: React.FC = () => {
|
|||||||
valueType: 'text',
|
valueType: 'text',
|
||||||
search: false,
|
search: false,
|
||||||
render: (_, record) => {
|
render: (_, record) => {
|
||||||
return <Image src={record.imageUrl} width={60}></Image>
|
return <Image src={record.imageUrl} width={60} height={60}></Image>
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ const LogTableList: React.FC = () => {
|
|||||||
return record.ordersGoodsList ? record.ordersGoodsList.map((i) => {
|
return record.ordersGoodsList ? record.ordersGoodsList.map((i) => {
|
||||||
let _Img = i?.goodsSnapshot?.picture ? JSON.parse(i?.goodsSnapshot?.picture)[0] : ''
|
let _Img = i?.goodsSnapshot?.picture ? JSON.parse(i?.goodsSnapshot?.picture)[0] : ''
|
||||||
return <div className={'flex'} key={i.id}>
|
return <div className={'flex'} key={i.id}>
|
||||||
<Image width={60} src={_Img}></Image>
|
<Image width={60} src={_Img} height={60}></Image>
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
商品名称:{i.goodsSnapshot?.goodsName}
|
商品名称:{i.goodsSnapshot?.goodsName}
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ const RoleForm: React.FC = (props: any) => {
|
|||||||
props.onCancel();
|
props.onCancel();
|
||||||
};
|
};
|
||||||
const handleFinish = async (values: any) => {
|
const handleFinish = async (values: any) => {
|
||||||
|
values.roleSort = values.roleSort ? values.roleSort : 0
|
||||||
props.onSubmit(values);
|
props.onSubmit(values);
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -81,6 +82,16 @@ const RoleForm: React.FC = (props: any) => {
|
|||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
|
<ProFormText
|
||||||
|
name="roleSort"
|
||||||
|
label={'排序'}
|
||||||
|
colProps={{ md: 24, xl: 24 }}
|
||||||
|
placeholder="请输入排序字符"
|
||||||
|
fieldProps={{
|
||||||
|
defaultValue: 0
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
|
||||||
</ProForm.Group>
|
</ProForm.Group>
|
||||||
<ProForm.Group>
|
<ProForm.Group>
|
||||||
<ProForm.Item label="菜单权限" name="menuIds">
|
<ProForm.Item label="菜单权限" name="menuIds">
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ const handleAdd = async (fields: API.System.Menu) => {
|
|||||||
return true;
|
return true;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
hide();
|
hide();
|
||||||
message.error('添加失败请重试!');
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -40,7 +39,6 @@ const handleUpdate = async (fields: API.System.Menu) => {
|
|||||||
return true;
|
return true;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
hide();
|
hide();
|
||||||
message.error('修改失败请重试!');
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -56,7 +54,6 @@ const handleRemoveOne = async (selectedRow: API.System.Menu) => {
|
|||||||
return true;
|
return true;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
hide();
|
hide();
|
||||||
message.error('删除失败,请重试');
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ const UserTableList: React.FC = () => {
|
|||||||
search: false,
|
search: false,
|
||||||
render: (_: any, record: any) => {
|
render: (_: any, record: any) => {
|
||||||
return <div className='flex'>
|
return <div className='flex'>
|
||||||
<Image src={record.avatar} width={45}></Image>
|
<Image src={record.avatar} width={45} height={45}></Image>
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
昵称:{record.nickName}
|
昵称:{record.nickName}
|
||||||
|
|||||||
@@ -195,7 +195,7 @@ const LogTableList: React.FC = () => {
|
|||||||
valueType: 'text',
|
valueType: 'text',
|
||||||
search: false,
|
search: false,
|
||||||
render: (_, record) => {
|
render: (_, record) => {
|
||||||
return record.qrCode ? <Image src={record.qrCode} width={60}></Image> : '-'
|
return record.qrCode ? <Image src={record.qrCode} width={60} height={60}></Image> : '-'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user