mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-24 23:04:40 +08:00
fix: 解决部分容器编辑无法正常打开的问题 (#1645)
This commit is contained in:
parent
1ccc56100c
commit
5e7d5c0235
1 changed files with 1 additions and 0 deletions
|
@ -264,6 +264,7 @@ const acceptParams = (params: DialogProps): void => {
|
|||
title.value = i18n.global.t('container.' + dialogData.value.title);
|
||||
if (params.title === 'edit') {
|
||||
dialogData.value.rowData.memory = Number(dialogData.value.rowData.memory.toFixed(2));
|
||||
dialogData.value.rowData.cmd = dialogData.value.rowData.cmd || [];
|
||||
let itemCmd = '';
|
||||
for (const item of dialogData.value.rowData.cmd) {
|
||||
itemCmd += `'${item}' `;
|
||||
|
|
Loading…
Reference in a new issue