function getFullPath(originPath, search = '') { return originPath .replace(PAGE_REGEXP, '/pages/') .replace(INDEX_REGEXP, `/index${search}`); } exports.getFullPath = getFullPath; 这个方法 如果我现在分包的目录是views/login/index.jsx 默认获取的路径是从pages开始的