diff --git a/config/config.js b/config/config.js index ee5ff285e18d0b5aaafd39dca8a0fc8cb111e21f..38b517587be2d6653cb8f40d99a2ae6e75e477e9 100644 --- a/config/config.js +++ b/config/config.js @@ -23,6 +23,15 @@ export default { }, }, ], + [ + 'umi-plugin-pro-block', + { + moveMock: false, + moveService: false, + modifyRequest: true, + autoAddMenu: true, + }, + ], ], targets: { ie: 11, diff --git a/package.json b/package.json index 09b089dc1f9858d922c7dd1dba737f5137c8e1eb..c9937c7e6d72b6436637edf54c405139552f85ab 100644 --- a/package.json +++ b/package.json @@ -101,7 +101,8 @@ "tslint-react": "^3.6.0", "umi": "^2.4.2", "umi-plugin-ga": "^1.1.3", - "umi-plugin-react": "^1.3.4" + "umi-plugin-react": "^1.3.4", + "umi-plugin-pro-block": "^1.2.0" }, "optionalDependencies": { "puppeteer": "^1.10.0"