chore: 降级react及相关依赖到18.x版本
将项目的react、react-dom版本从19.x降级到18.3.1,同步更新对应的类型定义包,修正依赖匹配问题
This commit is contained in:
@@ -12,14 +12,14 @@
|
||||
"dependencies": {
|
||||
"@arco-design/web-react": "^2.66.15",
|
||||
"axios": "^1.18.1",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-router-dom": "^7.18.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^24.13.2",
|
||||
"@types/react": "^19.2.17",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"@types/react": "^18.3.18",
|
||||
"@types/react-dom": "^18.3.5",
|
||||
"@vitejs/plugin-react": "^6.0.2",
|
||||
"typescript": "~6.0.2",
|
||||
"vite": "^8.1.0"
|
||||
|
||||
Reference in New Issue
Block a user