调整路由拦截模式
This commit is contained in:
@@ -10,7 +10,7 @@ module.exports = {
|
||||
new webpack.DefinePlugin({
|
||||
ROUTES: webpack.DefinePlugin.runtimeValue(() => {
|
||||
const tfPages = new TransformPages({
|
||||
includes: ['path', 'name', 'aliasPath']
|
||||
includes: ['path', 'name', 'aliasPath', 'auth']
|
||||
});
|
||||
return JSON.stringify(tfPages.routes)
|
||||
}, true)
|
||||
|
||||
Reference in New Issue
Block a user