src/layout/components/Sidebar/index.vue
@@ -77,7 +77,7 @@ activeMenu() { const route = this.$route const { meta, path } = route console.log(meta, path, 7) // console.log(meta, path, 7) // if set path, the sidebar will highlight the path you set removeCookie('ruleCode') setCookie('ruleCode', meta.code) // 将编码规则code存到cookie里面