From 95af123562c0a05ae8955d53fcdcd4c8b310ced8 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 29 六月 2022 17:32:00 +0800
Subject: [PATCH] 1.制造模型:工艺路线(新增、删除、预览)功能开发 2.制造模型:工序定义(查询) 功能开发 3.系统设置:编码规则(查询)功能开发4.修改实施部提出的bug
---
src/layout/components/Sidebar/index.vue | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue
index 32f68d3..dc2fddb 100644
--- a/src/layout/components/Sidebar/index.vue
+++ b/src/layout/components/Sidebar/index.vue
@@ -39,6 +39,7 @@
import SidebarItem from './SidebarItem'
import variables from '@/styles/variables.scss'
import { LoginMenu } from '@/api/user'
+import { setCookie } from '@/utils/auth'
export default {
components: { SidebarItem, Logo },
@@ -59,6 +60,7 @@
const route = this.$route
const { meta, path } = route
// if set path, the sidebar will highlight the path you set
+ setCookie('ruleCode', meta.code)// 灏嗙紪鐮佽鍒檆ode瀛樺埌cookie閲岄潰
if (meta.activeMenu) {
return meta.activeMenu
}
--
Gitblit v1.9.3