diff --git a/back/services/system.ts b/back/services/system.ts index ec41bab6..afcc2dc5 100644 --- a/back/services/system.ts +++ b/back/services/system.ts @@ -136,10 +136,6 @@ export default class SystemService { public async updateSystem() { const cp = spawn('ql -l update', { shell: '/bin/bash' }); - this.sockService.sendMessage({ - type: 'updateSystemVersion', - message: `开始更新系统`, - }); cp.stdout.on('data', (data) => { this.sockService.sendMessage({ type: 'updateSystemVersion', diff --git a/src/pages/setting/checkUpdate.tsx b/src/pages/setting/checkUpdate.tsx index 73c93a95..1841a419 100644 --- a/src/pages/setting/checkUpdate.tsx +++ b/src/pages/setting/checkUpdate.tsx @@ -108,10 +108,9 @@ const CheckUpdate = ({ socketMessage }: any) => { maskClosable: false, closable: false, okButtonProps: { disabled: true }, - title: '更新日志', + title: '更新中...', centered: true, content: ( -
{ > {value}-
{ {newMessage}-