mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-17 03:04:46 +08:00
perf: 弹窗操作的 successMsg 参数 (#2892)
This commit is contained in:
parent
adc34aaf75
commit
0a003d3750
@ -567,12 +567,14 @@ const onOperate = async (op: string, row: Container.ContainerInfo | null) => {
|
|||||||
msg = i18n.global.t('container.operatorAppHelper', [i18n.global.t('container.' + op)]);
|
msg = i18n.global.t('container.operatorAppHelper', [i18n.global.t('container.' + op)]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
const successMsg = `${i18n.global.t('container.' + op)}${i18n.global.t('commons.status.success')}`;
|
||||||
opRef.value.acceptParams({
|
opRef.value.acceptParams({
|
||||||
title: i18n.global.t('container.' + op),
|
title: i18n.global.t('container.' + op),
|
||||||
names: names,
|
names: names,
|
||||||
msg: msg,
|
msg: msg,
|
||||||
api: containerOperator,
|
api: containerOperator,
|
||||||
params: { names: names, operation: op },
|
params: { names: names, operation: op },
|
||||||
|
successMsg,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user