diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 8cb3e2b..effe361 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -51,6 +51,7 @@ export NODE_OPTIONS="--max-old-space-size=256" # ============================ export PATH="$PYTHON_VENV_DIR/bin:$NODE_ENV_DIR/bin:$PATH" export NODE_PATH="$NODE_ENV_DIR/lib/node_modules" +export PYTHONPATH=/app/data/scripts:$PYTHONPATH # ============================ # 打印确认 diff --git a/web/src/views/history/History.vue b/web/src/views/history/History.vue index adf66a3..802f604 100644 --- a/web/src/views/history/History.vue +++ b/web/src/views/history/History.vue @@ -154,7 +154,7 @@ watch(() => route.query.task_id, (newTaskId) => {