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