perf[Breadcrumb]: set noredirect => noRedirect

This commit is contained in:
Pan
2019-04-16 13:51:14 +08:00
parent 067a2910d4
commit 4ee334ad83
6 changed files with 13 additions and 15 deletions

View File

@@ -121,7 +121,7 @@ export default {
data.title = [...data.title, i18ntitle]
if (router.redirect !== 'noredirect') {
if (router.redirect !== 'noRedirect') {
// only push the routes with title
// special case: need to exclude parent router without redirect
res.push(data)