diff --git a/eslint.config.js b/eslint.config.js index 06fcf00..fab559e 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -20,6 +20,7 @@ export default antfu({ "react-hooks-extra/no-unnecessary-use-prefix": "off", "react-hooks-extra/prefer-use-state-lazy-initialization": "off", "react-hooks/exhaustive-deps": "off", + "react/no-implicit-key": "off", }, javascript: { "no-console": process.env.NODE_ENV === "production" ? "error" : "warn", diff --git a/package.json b/package.json index 9ba1020..7aa993c 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "lint": "eslint --ext .js,.jsx,.tsx --fix src" }, "dependencies": { + "@ahooksjs/use-url-state": "^3.5.1", "@ant-design/icons": "^6.1.0", "@ant-design/pro-components": "^2.8.10", "@cqsjjb/jjb-common-decorator": "latest", @@ -33,7 +34,7 @@ "react-dom": "^18.2.0", "react-pdf": "10.4.1", "react-to-print": "^3.2.0", - "zy-react-library": "^1.3.31" + "zy-react-library": "^1.3.34" }, "devDependencies": { "@antfu/eslint-config": "^5.4.1", diff --git a/src/pages/Container/Supervision/Statistics/List/index.js b/src/pages/Container/Supervision/Statistics/List/index.js index 2c8308d..df2270c 100644 --- a/src/pages/Container/Supervision/Statistics/List/index.js +++ b/src/pages/Container/Supervision/Statistics/List/index.js @@ -42,7 +42,7 @@ function List(props) { return (