Commit 16805e24 by zhaochengxiang

导出资产管理

parent 7bc93ba6
...@@ -5,17 +5,17 @@ ...@@ -5,17 +5,17 @@
"dependencies": { "dependencies": {
"@antv/g2": "^4.1.12", "@antv/g2": "^4.1.12",
"@antv/g6": "^4.2.1", "@antv/g6": "^4.2.1",
"@craco/craco": "^6.1.1", "@craco/craco": "^6.1.2",
"@testing-library/jest-dom": "^5.11.4", "@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0", "@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10", "@testing-library/user-event": "^12.1.10",
"antd": "^4.14.0", "antd": "^4.14.0",
"axios": "^0.19.0", "axios": "^0.19.0",
"copy-to-clipboard": "^3.3.1",
"core-js": "^3.4.2", "core-js": "^3.4.2",
"craco-less": "^1.17.1", "craco-less": "^1.17.1",
"crypto-js": "^4.0.0", "crypto-js": "^4.0.0",
"immutability-helper": "^3.1.1", "immutability-helper": "^3.1.1",
"copy-to-clipboard": "^3.3.1",
"less": "^4.1.1", "less": "^4.1.1",
"less-loader": "^8.0.0", "less-loader": "^8.0.0",
"react": "^17.0.1", "react": "^17.0.1",
......
...@@ -175,7 +175,7 @@ const AssetTable = (props) =>{ ...@@ -175,7 +175,7 @@ const AssetTable = (props) =>{
const onAssetCheckboxChange = (value) => { const onAssetCheckboxChange = (value) => {
setSelectedKeys(value||[]); setSelectedKeys(value||[]);
setCheckAllValue((value||[]).length === (assets||[]).length); setCheckAllValue((value||[].length!==0) && (value||[]).length===(assets||[]).length);
} }
const deleteAssets = () => { const deleteAssets = () => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment