fix: 解决应用升级网站链接跳转不生效的问题 (#3282)

This commit is contained in:
zhengkunwang
2023-12-12 04:10:08 +00:00
committed by GitHub
parent d567491770
commit 72d8825db0
2 changed files with 1 additions and 2 deletions
@@ -442,7 +442,7 @@ const openOperate = (row: any, op: string) => {
operateReq.installId = row.id;
operateReq.operate = op;
if (op == 'upgrade' || op == 'ignore') {
upgradeRef.value.acceptParams(row.id, row.name, op);
upgradeRef.value.acceptParams(row.id, row.name, op, row.app);
} else if (op == 'delete') {
AppInstalledDeleteCheck(row.id).then(async (res) => {
const items = res.data;
@@ -202,7 +202,6 @@ const onSave = async (row) => {
};
const loadItemSize = (row: any) => {
console.log(row.size, row.sizeUnit);
switch (row.sizeUnit) {
case 'KB':
return row.size;