diff --git a/config/config.ts b/config/config.ts index fb3df49730b0079e8ce2b6cdf0afcc67016238b5..c84b80704d6a5ff917b6f567cbc45e44e6bd8b5e 100644 --- a/config/config.ts +++ b/config/config.ts @@ -82,11 +82,6 @@ export default { devtool: ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION ? 'source-map' : false, // 路由配置 routes: [ - { - path: '/user', - components: ['../layouts/UserLayout'], - routes: [], - }, { path: '/', component: '../layouts/BasicLayout', @@ -94,7 +89,7 @@ export default { authority: ['admin', 'user'], routes: [ { - path: '/analysis', + path: '/', name: 'Analysis', icon: 'dashboard', component: './analysis', diff --git a/functions/package.json b/functions/package.json deleted file mode 100644 index fe77db2ab178ceec526d78d077834a401b7970a0..0000000000000000000000000000000000000000 --- a/functions/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "functions", - "description": "Cloud Functions for Firebase", - "scripts": { - "serve": "firebase serve --only functions", - "shell": "firebase functions:shell", - "start": "npm run shell", - "deploy": "npm run mock && firebase deploy --only functions", - "logs": "firebase functions:log", - "mock": "node ../scripts/generateMock.js" - }, - "dependencies": { - "@babel/runtime": "^7.0.0", - "body-parser": "^1.18.3", - "express": "^4.16.4", - "firebase-admin": "^6.4.0", - "firebase-functions": "^2.1.0", - "mockjs": "^1.0.1-beta3", - "moment": "^2.22.2", - "path-to-regexp": "^3.0.0" - }, - "private": true -}