This commit is contained in:
weipengfei 2023-08-31 10:55:45 +08:00
parent cd53b82db8
commit a5f1442163

View File

@ -308,7 +308,7 @@ export default {
}, },
computed: { computed: {
oaHomeData () { oaHomeData () {
const route = getCurrentPages()[0]?.route; const route = '/pages/oaHome/oaHome';
let arr = []; let arr = [];
this.$store.state.config?.config?.menu?.forEach((item) => { this.$store.state.config?.config?.menu?.forEach((item) => {
if (item.paths.includes(route)) { if (item.paths.includes(route)) {