fix(deps): 升级依赖库版本并修复Modal属性使用
- 将 antd 版本从 5.27.6 升级到 6.5.0 - 更新 @ant-design/icons 版本到 6.3.2 - 升级 zy-react-library 到 2.0.13 - 修正 Modal 组件中 maskClosable 属性为 mask 对象的 closable 属性 - 在 jsconfig.json 中添加 jsx 配置为 react,提高编辑器支持master
parent
589aa29376
commit
d16b6b2ee5
|
|
@ -3,7 +3,8 @@
|
|||
"baseUrl": "src",
|
||||
"paths": {
|
||||
"~/*": ["*"]
|
||||
}
|
||||
},
|
||||
"jsx": "react"
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
"lint": "eslint --ext .js,.jsx,.tsx --fix src"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ant-design/icons": "latest",
|
||||
"@ant-design/icons": "6.3.2",
|
||||
"@ant-design/pro-components": "^2.8.10",
|
||||
"@cqsjjb/jjb-common-decorator": "latest",
|
||||
"@cqsjjb/jjb-common-lib": "latest",
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
"@cqsjjb/jjb-react-admin-component": "latest",
|
||||
"ahooks": "^3.9.5",
|
||||
"animate.css": "^4.1.1",
|
||||
"antd": "5.27.6",
|
||||
"antd": "6.5.0",
|
||||
"autofit.js": "^3.2.8",
|
||||
"dayjs": "^1.11.7",
|
||||
"echarts": "^6.0.0",
|
||||
|
|
@ -40,7 +40,7 @@
|
|||
"react-transition-group": "^4.4.5",
|
||||
"sass": "^1.97.0",
|
||||
"sass-loader": "^16.0.6",
|
||||
"zy-react-library": "^1.1.13"
|
||||
"zy-react-library": "^2.0.13"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^5.4.1",
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ function Camera() {
|
|||
return (
|
||||
<Modal
|
||||
open={state}
|
||||
maskClosable={false}
|
||||
mask={{ closable: false }}
|
||||
footer={null}
|
||||
width={1500}
|
||||
onCancel={setFalse}
|
||||
|
|
|
|||
Loading…
Reference in New Issue