for build
Change-Id: I42f0c76ec306e871c681a08ad6aefa9ac3f76947
diff --git a/Dockerfile b/Dockerfile
index 99ba20b..bd41cad 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,6 +5,7 @@
# 使用淘宝镜像源安装依赖
RUN npm config set registry https://registry.npmmirror.com && \
npm install
+RUN npm install dva@^2.4.1 # 明确安装缺失的dva库
COPY . .
RUN npm run build
diff --git a/package.json b/package.json
index ad3ecc5..296ce0c 100644
--- a/package.json
+++ b/package.json
@@ -73,6 +73,7 @@
"axios": "^1.9.0",
"classnames": "^2.5.1",
"dayjs": "^1.11.13",
+ "dva": "^2.4.1",
"fabric": "^6.4.0",
"highlight.js": "^11.10.0",
"lodash": "^4.17.21",