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