1.找到安装目录 中 api_group.js
centos安装目录:/usr/lib/node_modules/apidoc/node_modules/apidoc-core/lib/workers/api_group.js
window安装目录:C:\Users\ZhiJiao361\AppData\Roaming\npm\node_modules\apidoc\node_modules\apidoc-core\lib\workers\api_group.js


2.注释代码
vim api_group.js

//group = group.replace(/[^\w]/g, '_');