+
+
+
diff --git a/src/components/common/log-drawer.vue b/src/components/common/log-drawer.vue
index f61b735..743c280 100644
--- a/src/components/common/log-drawer.vue
+++ b/src/components/common/log-drawer.vue
@@ -7,6 +7,7 @@ import {
NDivider,
NDropdown,
NEmpty,
+ NScrollbar,
NSpin,
NVirtualList,
type VirtualListInst
@@ -282,7 +283,11 @@ const SnailLogComponent = defineComponent({
return <>>;
}
const restOfText = throwable.replace(/^.+(\n|$)/m, '');
- return
{`${restOfText}`};
+ return (
+
+ {`${restOfText}`}
+
+ );
};
const messageComponent = (message: Api.JobLog.JobMessage) => {
@@ -297,7 +302,9 @@ const SnailLogComponent = defineComponent({
const restOfText = msg.replace(/^.+(\n|$)/m, '').replaceAll('\n', '\n - ');
if (restOfText) {
return (
-
{` - ${restOfText}`}
+
+ {` - ${restOfText}`}
+
);
}
return
- {`${msg}`}
;
@@ -322,12 +329,11 @@ const SnailLogComponent = defineComponent({
ref={virtualListInst}
class="virtual-list"
itemSize={85}
- item-resizable
- ignore-item-resize
- padding-bottom={16}
+ itemResizable
+ paddingBottom={16}
items={logList.value}
- scrollbar-props={{ xScrollable: true }}
- on-resize={handleResize}
+ scrollbarProps={{ xScrollable: true }}
+ onResize={handleResize}
>
{{
default: ({ item: message }: { item: Api.JobLog.JobMessage }) => (
@@ -592,4 +598,15 @@ const SnailLogComponent = defineComponent({
display: inline-block !important;
min-width: 100%;
}
+
+:deep(.message-scroll-body) {
+ margin-top: 6px;
+ max-height: 150px;
+ border: 1px solid rgb(239, 239, 245);
+ border-radius: var(--n-border-radius);
+}
+
+:deep(.dark .message-scroll-body) {
+ border: 1px solid rgba(255, 255, 255, 0.09) !important;
+}
From aab874bdadf0e593daefd9ebb22674c2bc70c580 Mon Sep 17 00:00:00 2001
From: opensnail <598092184@qq.com>
Date: Sun, 12 Jan 2025 11:07:58 +0800
Subject: [PATCH 3/5] =?UTF-8?q?feat(1.3.0-beta1.1):=20=E5=8F=91=E5=B8=831.?=
=?UTF-8?q?3.0-beta1.1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/job/task/modules/job-task-operate-drawer.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/job/task/modules/job-task-operate-drawer.vue b/src/views/job/task/modules/job-task-operate-drawer.vue
index e2c205c..437f451 100644
--- a/src/views/job/task/modules/job-task-operate-drawer.vue
+++ b/src/views/job/task/modules/job-task-operate-drawer.vue
@@ -467,7 +467,7 @@ const scriptMethodOptions = [
-
+
From 960c8c68581f748e4332254a9b8ba9e0848f7159 Mon Sep 17 00:00:00 2001
From: opensnail <598092184@qq.com>
Date: Sat, 18 Jan 2025 09:07:06 +0800
Subject: [PATCH 4/5] =?UTF-8?q?feat(1.3.0-beta2):=20=E5=8F=91=E5=B8=831.3.?=
=?UTF-8?q?0-beta2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.env b/.env
index d90b332..c341145 100644
--- a/.env
+++ b/.env
@@ -4,7 +4,7 @@ VITE_APP_TITLE=Snail Job
VITE_APP_DESC=A flexible, reliable, and fast platform for distributed task retry and distributed task scheduling.
-VITE_APP_VERSION=1.3.0-beta1.1
+VITE_APP_VERSION=1.3.0-beta2
VITE_APP_DEFAULT_TOKEN=SJ_Wyz3dmsdbDOkDujOTSSoBjGQP1BMsVnj
From fe035218bae59b35c5f56c8a4677135b7e1a5332 Mon Sep 17 00:00:00 2001
From: opensnail <598092184@qq.com>
Date: Thu, 23 Jan 2025 21:29:23 +0800
Subject: [PATCH 5/5] =?UTF-8?q?feat(1.3.0):=20=E5=8F=91=E5=B8=831.3.0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.env b/.env
index c341145..ccd84e7 100644
--- a/.env
+++ b/.env
@@ -4,7 +4,7 @@ VITE_APP_TITLE=Snail Job
VITE_APP_DESC=A flexible, reliable, and fast platform for distributed task retry and distributed task scheduling.
-VITE_APP_VERSION=1.3.0-beta2
+VITE_APP_VERSION=1.3.0
VITE_APP_DEFAULT_TOKEN=SJ_Wyz3dmsdbDOkDujOTSSoBjGQP1BMsVnj