v3.7.0 更新到【默认首页使用keep-alive缓存】后报错

This commit is contained in:
YunaiV 2022-02-17 01:36:32 +08:00
parent 9edf88b37a
commit 2ce2287146

View File

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