mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-13 20:30:48 +08:00
umi-request 替换为 axios
This commit is contained in:
@@ -80,9 +80,7 @@ const ViewCreateModal = ({
|
||||
try {
|
||||
const { code, data } = await request[method](
|
||||
`${config.apiPrefix}crons/views`,
|
||||
{
|
||||
data: view ? { ...values, id: view.id } : values,
|
||||
},
|
||||
view ? { ...values, id: view.id } : values,
|
||||
);
|
||||
|
||||
if (code === 200) {
|
||||
|
||||
Reference in New Issue
Block a user