Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agent/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ require (
github.com/go-redis/redis v6.15.9+incompatible
github.com/go-resty/resty/v2 v2.16.5
github.com/go-sql-driver/mysql v1.8.1
github.com/goccy/go-yaml v1.9.8
github.com/goh-chunlin/go-onedrive v1.1.1
github.com/google/uuid v1.6.0
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674
Expand Down Expand Up @@ -141,6 +140,7 @@ require (
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
github.com/goccy/go-json v0.10.5 // indirect
github.com/goccy/go-yaml v1.9.8 // indirect
github.com/gofrs/flock v0.13.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.4 // indirect
Expand Down
2 changes: 1 addition & 1 deletion agent/utils/compose/compose.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/1Panel-dev/1Panel/agent/utils/cmd"
"github.com/1Panel-dev/1Panel/agent/utils/common"
"github.com/1Panel-dev/1Panel/agent/utils/docker"
"github.com/goccy/go-yaml"
"gopkg.in/yaml.v3"
)

func checkCmd() error {
Expand Down
14 changes: 13 additions & 1 deletion frontend/src/views/container/compose/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,12 @@
</template>
</LayoutContent>

<TaskLog ref="taskLogRef" width="70%" @close="search(true)" />
<TaskLog ref="taskLogRef" width="70%">
<template #task-footer>
<el-button @click="handleClose">{{ $t('commons.table.backToList') }}</el-button>
<el-button type="primary" @click="closeTask">{{ $t('commons.table.keepEdit') }}</el-button>
</template>
</TaskLog>
<FileList ref="fileRef" @choose="loadDir" />
<DeleteDialog @search="search(true)" ref="dialogDelRef" />
<ContainerInspectDialog ref="containerInspectRef" />
Expand Down Expand Up @@ -581,6 +586,13 @@ const changePath = async () => {
const loadDir = async (path: string) => {
form.path = path;
};
const handleClose = () => {
search(true);
taskLogRef.value?.handleClose();
};
const closeTask = () => {
taskLogRef.value?.handleClose();
};

const onDelete = (row: any) => {
dialogDelRef.value.acceptParams({
Expand Down
Loading