mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-05 19:41:37 +08:00
parent
c61570d2ff
commit
15d18db7e0
@ -28,7 +28,7 @@ export default {
|
||||
},
|
||||
firstMenu(state) {
|
||||
const {menuData} = state
|
||||
if (!menuData[0].fullPath) {
|
||||
if (menuData.length > 0 && !menuData[0].fullPath) {
|
||||
formatFullPath(menuData)
|
||||
}
|
||||
return menuData.map(item => {
|
||||
|
@ -88,7 +88,6 @@ function getLocalSetting(loadTheme) {
|
||||
console.error(e)
|
||||
}
|
||||
if (loadTheme) {
|
||||
console.log(localSetting)
|
||||
loadLocalTheme(localSetting)
|
||||
}
|
||||
return localSetting
|
||||
|
Loading…
x
Reference in New Issue
Block a user