style: 去掉安装页面的升级按钮

This commit is contained in:
zhengkunwang223 2023-02-21 11:31:34 +08:00 committed by zhengkunwang223
parent 3456ab7509
commit a8c4d153ea

View File

@ -296,15 +296,6 @@ const buttons = [
openOperate(row, 'sync'); openOperate(row, 'sync');
}, },
}, },
{
label: i18n.global.t('app.update'),
click: (row: any) => {
openOperate(row, 'update');
},
disabled: (row: any) => {
return !row.canUpdate;
},
},
{ {
label: i18n.global.t('app.restart'), label: i18n.global.t('app.restart'),
click: (row: any) => { click: (row: any) => {