mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-10-11 16:06:02 +08:00
fix: 解决应用升级网站链接跳转不生效的问题 (#3282)
This commit is contained in:
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.installId = row.id;
|
||||||
operateReq.operate = op;
|
operateReq.operate = op;
|
||||||
if (op == 'upgrade' || op == 'ignore') {
|
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') {
|
} else if (op == 'delete') {
|
||||||
AppInstalledDeleteCheck(row.id).then(async (res) => {
|
AppInstalledDeleteCheck(row.id).then(async (res) => {
|
||||||
const items = res.data;
|
const items = res.data;
|
||||||
|
|
|
@ -202,7 +202,6 @@ const onSave = async (row) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const loadItemSize = (row: any) => {
|
const loadItemSize = (row: any) => {
|
||||||
console.log(row.size, row.sizeUnit);
|
|
||||||
switch (row.sizeUnit) {
|
switch (row.sizeUnit) {
|
||||||
case 'KB':
|
case 'KB':
|
||||||
return row.size;
|
return row.size;
|
||||||
|
|
Loading…
Add table
Reference in a new issue