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

This commit is contained in:
zhengkunwang 2023-12-12 12:10:08 +08:00 committed by GitHub
parent d567491770
commit 72d8825db0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -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;

View file

@ -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;