From 6d88d55e122ea82dd11e5d01b67eec2810f9c3b2 Mon Sep 17 00:00:00 2001 From: QCQCQC <1220204124@zust.edu.cn> Date: Tue, 15 Oct 2024 15:39:22 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8E=92=E9=99=A4lib=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 2a27028..903a86d 100644 --- a/.gitignore +++ b/.gitignore @@ -90,4 +90,5 @@ package-lock.json src/oak-app-domain */public/locales # 如果不自动生成allRouters,这里要注释掉 -web/src/**/allRouters.ts \ No newline at end of file +web/src/**/allRouters.ts +lib/** \ No newline at end of file From 018b2c82e5ab0ca7a7b10a694a8e9fdc834bf9e9 Mon Sep 17 00:00:00 2001 From: QCQCQC <1220204124@zust.edu.cn> Date: Tue, 15 Oct 2024 16:03:39 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=89=8D=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E6=A8=A1=E5=BC=8F=E6=97=A0=E6=B3=95=E8=BF=90=E8=A1=8C?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/context/BackendRuntimeContext.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 81f557f..007a671 100644 --- a/package.json +++ b/package.json @@ -66,6 +66,7 @@ "dayjs": "^1.11.5", "echarts": "^5.3.0", "echarts-for-react": "^3.0.2", + "form-data": "^4.0.1", "highlight.js": "^11.10.0", "history": "^5.3.0", "hmacsha1": "^1.0.0", diff --git a/src/context/BackendRuntimeContext.ts b/src/context/BackendRuntimeContext.ts index 90d1471..adc84ff 100644 --- a/src/context/BackendRuntimeContext.ts +++ b/src/context/BackendRuntimeContext.ts @@ -1,4 +1,4 @@ -import BaseBackendRuntimeContext from "oak-general-business/es/context/BackendRuntimeContext"; +import BaseBackendRuntimeContext from "oak-general-business/lib/context/BackendRuntimeContext"; import { EntityDict } from '@project/oak-app-domain'; import { RuntimeContext } from './RuntimeContext'; export class BackendRuntimeContext extends BaseBackendRuntimeContext implements RuntimeContext {