(data: DockerConfigItem[] = [])
| 102 | } |
| 103 | |
| 104 | export async function useVolumeEditDialog(data: DockerConfigItem[] = []) { |
| 105 | return ( |
| 106 | (await useMountComponent({ |
| 107 | data, |
| 108 | subTitle: t("TXT_CODE_6c232c9c"), |
| 109 | title: t("TXT_CODE_820ebc92"), |
| 110 | columns: [ |
| 111 | { |
| 112 | align: "center", |
| 113 | dataIndex: "host", |
| 114 | title: t("TXT_CODE_681aaeb9") |
| 115 | }, |
| 116 | { |
| 117 | align: "center", |
| 118 | dataIndex: "container", |
| 119 | title: t("TXT_CODE_30258325") |
| 120 | } |
| 121 | ] as AntColumnsType[], |
| 122 | textarea: true |
| 123 | }).mount<DockerConfigItem[]>(KvOptionsDialogVue)) || [] |
| 124 | ); |
| 125 | } |
| 126 | |
| 127 | export async function useDockerEnvEditDialog(data: DockerEnvItem[] = []) { |
| 128 | return ( |
nothing calls this directly
no test coverage detected