diff --git a/backend/app/api/v1/file.go b/backend/app/api/v1/file.go
index a5f03280b..b0fe5e341 100644
--- a/backend/app/api/v1/file.go
+++ b/backend/app/api/v1/file.go
@@ -532,7 +532,7 @@ func (b *BaseApi) DownloadChunkFiles(c *gin.Context) {
}
defer file.Close()
- file.Seek(startPos, 0)
+ _, _ = file.Seek(startPos, 0)
reader := io.LimitReader(file, endPos-startPos+1)
_, err = io.CopyBuffer(c.Writer, reader, buffer)
if err != nil {
diff --git a/frontend/src/views/host/process/process/index.vue b/frontend/src/views/host/process/process/index.vue
index 2debcd055..55ab05798 100644
--- a/frontend/src/views/host/process/process/index.vue
+++ b/frontend/src/views/host/process/process/index.vue
@@ -55,13 +55,7 @@
-
+
{
oldData.value = result;
data.value = filterByStatus();
sortTable();
+ loading.value = false;
};
const filterByStatus = () => {
@@ -258,6 +253,8 @@ const initProcess = () => {
processSocket.onmessage = onMessage;
processSocket.onerror = onerror;
processSocket.onclose = onClose;
+ loading.value = true;
+ search();
sendMsg();
};
diff --git a/frontend/src/views/host/ssh/session/index.vue b/frontend/src/views/host/ssh/session/index.vue
index d4de85cc2..723d5db51 100644
--- a/frontend/src/views/host/ssh/session/index.vue
+++ b/frontend/src/views/host/ssh/session/index.vue
@@ -25,7 +25,6 @@
-