{{ $t('database.delete') }}
@@ -40,6 +46,7 @@ let loading = ref(false);
let deleteInfo = ref('');
const deleteFile = ref();
+const force = ref();
const composeName = ref();
const composePath = ref();
@@ -53,6 +60,7 @@ const emit = defineEmits<{ (e: 'search'): void }>();
const acceptParams = async (prop: DialogProps) => {
deleteFile.value = false;
+ force.value = false;
composeName.value = prop.name;
composePath.value = prop.path;
deleteInfo.value = '';
@@ -66,6 +74,7 @@ const submit = async () => {
path: composePath.value,
operation: 'delete',
withFile: deleteFile.value,
+ force: force.value,
};
await composeOperator(params)
.then(() => {
diff --git a/frontend/src/views/container/compose/index.vue b/frontend/src/views/container/compose/index.vue
index 1eaa4de91..7e2ee9cfa 100644
--- a/frontend/src/views/container/compose/index.vue
+++ b/frontend/src/views/container/compose/index.vue
@@ -203,6 +203,7 @@ const onComposeOperate = async (operation: string, row: any) => {
path: row.path,
operation: operation,
withFile: false,
+ force: false,
};
loading.value = true;
await composeOperator(params)