!287 更新到【默认首页使用keep-alive缓存】后报错

Merge pull request !287 from wangzhaoqiang/master
This commit is contained in:
若依 2021-08-16 02:36:29 +00:00 committed by Gitee
commit 268468fb47

View File

@ -45,7 +45,7 @@ export default {
if (!name) { if (!name) {
return false return false
} }
return name.trim() === '首页' return name.trim() === 'Index'
}, },
handleLink(item) { handleLink(item) {
const { redirect, path } = item const { redirect, path } = item