-
{{ $t('database.delete') }}
-
{{ composeName }}
-
{{ $t('container.deleteCompose') }}
+
+ {{ $t('database.delete') }}
+ {{ composeName }}
+ {{ $t('container.deleteCompose') }}
@@ -64,6 +64,15 @@ const acceptParams = async (prop: DialogProps) => {
dialogVisible.value = true;
};
+const loadComposeDir = () => {
+ const parts = composePath.value.split('/');
+ if (parts.length <= 2) {
+ return '/';
+ }
+ const parentDirectory = parts.slice(0, -1).join('/');
+ return parentDirectory;
+};
+
const submit = async () => {
loading.value = true;
let params = {
@@ -88,3 +97,13 @@ defineExpose({
acceptParams,
});
+
+