Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 81502a7

Browse files
committed
fix: report sub script
1 parent 3fb10d6 commit 81502a7

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed

nginx.conf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ events {
77
http {
88
default_type application/octet-stream;
99
include /etc/nginx/mime.types;
10-
client_max_body_size 1G;
10+
client_max_body_size 10G;
1111
sendfile on;
12-
client_header_timeout 3000;
13-
client_body_timeout 3000;
14-
keepalive_timeout 3000;
15-
proxy_send_timeout 3000;
16-
proxy_read_timeout 3000;
17-
proxy_connect_timeout 3000;
12+
client_header_timeout 3600;
13+
client_body_timeout 3600;
14+
keepalive_timeout 3600;
15+
proxy_send_timeout 3600;
16+
proxy_read_timeout 3600;
17+
proxy_connect_timeout 3600;
1818

1919
server {
2020
listen 80;

src/components/StepLog.vue

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,23 @@ const isPic = (s) => {
126126
:preview-src-list="[scope.row.log]"
127127
></el-image>
128128
</div>
129+
<span
130+
v-else-if="scope.row.log.startsWith('Script: <br>')"
131+
style="white-space: break-spaces"
132+
>Script:
133+
<el-collapse style="margin: 5px 0">
134+
<el-collapse-item>
135+
<template #title> 点击展开/收起脚本 </template>
136+
<span
137+
v-html="
138+
scope.row.log.substring(
139+
scope.row.log.indexOf('Script: <br>') + 12
140+
)
141+
"
142+
></span>
143+
</el-collapse-item>
144+
</el-collapse>
145+
</span>
129146
<span
130147
v-else
131148
style="white-space: break-spaces"

0 commit comments

Comments
 (0)