提交 89b10c5e 作者: ZhangLingKun

优化:代码问题修复

上级 2d85469c
流水线 #7662 已通过 于阶段
in 1 分 21 秒
......@@ -51,8 +51,8 @@
"@types/js-cookie": "^3.0.1",
"@types/lodash": "^4.14.182",
"@types/node": "^20.1.3",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.5",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@types/react-redux": "^7.1.25",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
......
......@@ -79,7 +79,7 @@ dependencies:
version: registry.npmmirror.com/react-dom@18.1.0(react@18.1.0)
react-redux:
specifier: ^8.0.5
version: registry.npmmirror.com/react-redux@8.0.5(@types/react-dom@18.0.5)(@types/react@18.0.9)(react-dom@18.1.0)(react@18.1.0)(redux@4.2.1)
version: registry.npmmirror.com/react-redux@8.0.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.1.0)(react@18.1.0)(redux@4.2.1)
react-router-dom:
specifier: ^6.10.0
version: registry.npmmirror.com/react-router-dom@6.10.0(react-dom@18.1.0)(react@18.1.0)
......@@ -113,11 +113,11 @@ devDependencies:
specifier: ^20.1.3
version: registry.npmmirror.com/@types/node@20.1.3
'@types/react':
specifier: ^18.0.9
version: registry.npmmirror.com/@types/react@18.0.9
specifier: ^18.2.45
version: registry.npmmirror.com/@types/react@18.2.45
'@types/react-dom':
specifier: ^18.0.5
version: registry.npmmirror.com/@types/react-dom@18.0.5
specifier: ^18.2.18
version: registry.npmmirror.com/@types/react-dom@18.2.18
'@types/react-redux':
specifier: ^7.1.25
version: registry.npmmirror.com/@types/react-redux@7.1.25
......@@ -1099,7 +1099,7 @@ packages:
dependencies:
immer: registry.npmmirror.com/immer@9.0.21
react: registry.npmmirror.com/react@18.1.0
react-redux: registry.npmmirror.com/react-redux@8.0.5(@types/react-dom@18.0.5)(@types/react@18.0.9)(react-dom@18.1.0)(react@18.1.0)(redux@4.2.1)
react-redux: registry.npmmirror.com/react-redux@8.0.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.1.0)(react@18.1.0)(redux@4.2.1)
redux: registry.npmmirror.com/redux@4.2.1
redux-thunk: registry.npmmirror.com/redux-thunk@2.4.2(redux@4.2.1)
reselect: registry.npmmirror.com/reselect@4.1.8
......@@ -1151,7 +1151,7 @@ packages:
name: '@types/hoist-non-react-statics'
version: 3.3.5
dependencies:
'@types/react': registry.npmmirror.com/@types/react@18.0.9
'@types/react': registry.npmmirror.com/@types/react@18.2.45
hoist-non-react-statics: registry.npmmirror.com/hoist-non-react-statics@3.3.2
registry.npmmirror.com/@types/js-cookie@3.0.1:
......@@ -1189,12 +1189,12 @@ packages:
name: '@types/prop-types'
version: 15.7.11
registry.npmmirror.com/@types/react-dom@18.0.5:
resolution: {integrity: sha512-OWPWTUrY/NIrjsAPkAk1wW9LZeIjSvkXRhclsFO8CZcZGCOg2G0YZy4ft+rOyYxy8B7ui5iZzi9OkDebZ7/QSA==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/react-dom/-/react-dom-18.0.5.tgz}
registry.npmmirror.com/@types/react-dom@18.2.18:
resolution: {integrity: sha512-TJxDm6OfAX2KJWJdMEVTwWke5Sc/E/RlnPGvGfS0W7+6ocy2xhDVQVh/KvC2Uf7kACs+gDytdusDSdWfWkaNzw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/react-dom/-/react-dom-18.2.18.tgz}
name: '@types/react-dom'
version: 18.0.5
version: 18.2.18
dependencies:
'@types/react': registry.npmmirror.com/@types/react@18.0.9
'@types/react': registry.npmmirror.com/@types/react@18.2.45
registry.npmmirror.com/@types/react-redux@7.1.25:
resolution: {integrity: sha512-bAGh4e+w5D8dajd6InASVIyCo4pZLJ66oLb80F9OBLO1gKESbZcRCJpTT6uLXX+HAB57zw1WTdwJdAsewuTweg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/react-redux/-/react-redux-7.1.25.tgz}
......@@ -1202,15 +1202,15 @@ packages:
version: 7.1.25
dependencies:
'@types/hoist-non-react-statics': registry.npmmirror.com/@types/hoist-non-react-statics@3.3.5
'@types/react': registry.npmmirror.com/@types/react@18.0.9
'@types/react': registry.npmmirror.com/@types/react@18.2.45
hoist-non-react-statics: registry.npmmirror.com/hoist-non-react-statics@3.3.2
redux: registry.npmmirror.com/redux@4.2.1
dev: true
registry.npmmirror.com/@types/react@18.0.9:
resolution: {integrity: sha512-9bjbg1hJHUm4De19L1cHiW0Jvx3geel6Qczhjd0qY5VKVE2X5+x77YxAepuCwVh4vrgZJdgEJw48zrhRIeF4Nw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/react/-/react-18.0.9.tgz}
registry.npmmirror.com/@types/react@18.2.45:
resolution: {integrity: sha512-TtAxCNrlrBp8GoeEp1npd5g+d/OejJHFxS3OWmrPBMFaVQMSN0OFySozJio5BHxTuTeug00AVXVAjfDSfk+lUg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/react/-/react-18.2.45.tgz}
name: '@types/react'
version: 18.0.9
version: 18.2.45
dependencies:
'@types/prop-types': registry.npmmirror.com/@types/prop-types@15.7.11
'@types/scheduler': registry.npmmirror.com/@types/scheduler@0.16.8
......@@ -4761,7 +4761,7 @@ packages:
version: 18.2.0
dev: false
registry.npmmirror.com/react-redux@8.0.5(@types/react-dom@18.0.5)(@types/react@18.0.9)(react-dom@18.1.0)(react@18.1.0)(redux@4.2.1):
registry.npmmirror.com/react-redux@8.0.5(@types/react-dom@18.2.18)(@types/react@18.2.45)(react-dom@18.1.0)(react@18.1.0)(redux@4.2.1):
resolution: {integrity: sha512-Q2f6fCKxPFpkXt1qNRZdEDLlScsDWyrgSj0mliK59qU6W5gvBiKkdMEG2lJzhd1rCctf0hb6EtePPLZ2e0m1uw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/react-redux/-/react-redux-8.0.5.tgz}
id: registry.npmmirror.com/react-redux/8.0.5
name: react-redux
......@@ -4787,8 +4787,8 @@ packages:
dependencies:
'@babel/runtime': registry.npmmirror.com/@babel/runtime@7.23.6
'@types/hoist-non-react-statics': registry.npmmirror.com/@types/hoist-non-react-statics@3.3.5
'@types/react': registry.npmmirror.com/@types/react@18.0.9
'@types/react-dom': registry.npmmirror.com/@types/react-dom@18.0.5
'@types/react': registry.npmmirror.com/@types/react@18.2.45
'@types/react-dom': registry.npmmirror.com/@types/react-dom@18.2.18
'@types/use-sync-external-store': registry.npmmirror.com/@types/use-sync-external-store@0.0.3
hoist-non-react-statics: registry.npmmirror.com/hoist-non-react-statics@3.3.2
react: registry.npmmirror.com/react@18.1.0
......
......@@ -136,7 +136,11 @@ const CourseCategoryView: React.FC = () => {
<>
<SearchBox
preFixBtn={
<Button icon={<PlusOutlined />} type='primary' onClick={() => setIsMainShow(true)}>
<Button
icon={<PlusOutlined rev={undefined} />}
type='primary'
onClick={() => setIsMainShow(true)}
>
新增分类
</Button>
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论