mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-22 16:00:51 +00:00
fix: Fix the issue of abnormal compose directory redirection (#11223)
This commit is contained in:
@@ -68,8 +68,8 @@
|
||||
plain
|
||||
round
|
||||
size="small"
|
||||
:disabled="!currentCompose?.workdir"
|
||||
@click="openComposeFolder"
|
||||
:disabled="!row?.workdir"
|
||||
@click="openComposeFolder(row)"
|
||||
>
|
||||
{{ $t('home.dir') }}
|
||||
</el-button>
|
||||
@@ -459,9 +459,9 @@ const onSubmitEdit = async () => {
|
||||
});
|
||||
};
|
||||
|
||||
const openComposeFolder = () => {
|
||||
if (currentCompose.value?.workdir) {
|
||||
routerToFileWithPath(currentCompose.value.workdir);
|
||||
const openComposeFolder = (row: any) => {
|
||||
if (row?.workdir) {
|
||||
routerToFileWithPath(row.workdir);
|
||||
}
|
||||
};
|
||||
const onInspectContainer = async (item: any) => {
|
||||
|
||||
Reference in New Issue
Block a user