mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
修复检查更新弹框逻辑
This commit is contained in:
parent
955d815d14
commit
39c40a328d
|
@ -47,9 +47,8 @@ const CheckUpdate = ({ socketMessage, systemInfo }: any) => {
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
),
|
),
|
||||||
okText: '确认',
|
okText: '强制更新',
|
||||||
cancelText: '强制更新',
|
onOk() {
|
||||||
onCancel() {
|
|
||||||
showUpdatingModal();
|
showUpdatingModal();
|
||||||
request
|
request
|
||||||
.put(`${config.apiPrefix}system/update`)
|
.put(`${config.apiPrefix}system/update`)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user