mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-13 04:02:56 +08:00
umi-request 替换为 axios
This commit is contained in:
@@ -129,7 +129,7 @@ const CheckUpdate = ({ socketMessage, systemInfo }: any) => {
|
||||
okText: '重启',
|
||||
onOk() {
|
||||
request
|
||||
.put(`${config.apiPrefix}system/reload`, { data: { type: 'system' } })
|
||||
.put(`${config.apiPrefix}system/reload`, { type: 'system' })
|
||||
.then((_data: any) => {
|
||||
message.success({
|
||||
content: (
|
||||
|
||||
Reference in New Issue
Block a user