From cb2ca9b741b74b01c19796fcf940c54558bf663f Mon Sep 17 00:00:00 2001 From: zhangds Date: Wed, 4 Jan 2023 16:13:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=89=93=E5=8C=85=E4=BD=93?= =?UTF-8?q?=E7=A7=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 11 ----------- src/router/index.js | 6 ------ 2 files changed, 17 deletions(-) diff --git a/package.json b/package.json index a027b85f..d63b2334 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "css-loader": "^1.0.0", "dotenv": "8.2.0", "dotenv-expand": "5.1.0", - "echarts": "^5.2.1", "eslint": "^7.11.0", "eslint-config-react-app": "^6.0.0", "eslint-plugin-flowtype": "^5.2.0", @@ -58,7 +57,6 @@ "postcss-preset-env": "6.7.0", "postcss-safe-parser": "5.0.2", "prompts": "2.4.0", - "qrcode": "^1.4.4", "qrcode.react": "^1.0.1", "react": "^17.0.2", "react-app-polyfill": "^2.0.0", @@ -72,7 +70,6 @@ "react-window": "^1.8.6", "resolve": "1.18.1", "resolve-url-loader": "^3.1.2", - "sass-loader": "^10.0.5", "semver": "7.3.2", "style-loader": "1.3.0", "swiper": "^3.4.2", @@ -152,15 +149,7 @@ "^.+\\.css$": "/config/jest/cssTransform.js", "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "/config/jest/fileTransform.js" }, - "transformIgnorePatterns": [ - "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$", - "^.+\\.module\\.(css|sass|scss)$" - ], "modulePaths": [], - "moduleNameMapper": { - "^react-native$": "react-native-web", - "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy" - }, "moduleFileExtensions": [ "web.js", "js", diff --git a/src/router/index.js b/src/router/index.js index cd3917da..834cc1a4 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,5 +1,4 @@ import Extension from "@/pages/extension/main/main"; -import Overview from "@/pages/overview/main/main"; import Distributor from "@/pages/distributor/main/main"; import ExchangeCodeList from "@/pages/exchangecode/list/list"; import ExchangeCodeAdd from "@/pages/exchangecode/add/add"; @@ -49,11 +48,6 @@ const router = [ component: Extension, meta: { exact: true }, }, - { - path: "/home/overview", - component: Overview, - meta: { exact: true }, - }, { path: "/home/distributor", component: Distributor,