From 8527b19d2b64db40db7b152ac9dcb207784a1b64 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期四, 11 一月 2024 16:07:05 +0800
Subject: [PATCH] 	modified:   src/api/plan/manufacturingorder.js 	new file:   src/views/common/processinspect-part.vue 	modified:   src/views/plan/manufacturingorder/productorder-form.vue 	modified:   src/views/quality/processInspect/processInspect-form.vue 	modified:   src/views/technology/routing/routing-form.vue 	modified:   vue.config.js

---
 src/page/index/sidebar/index.vue |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/src/page/index/sidebar/index.vue b/src/page/index/sidebar/index.vue
index 35dc685..de41a71 100644
--- a/src/page/index/sidebar/index.vue
+++ b/src/page/index/sidebar/index.vue
@@ -18,13 +18,27 @@
   name: 'Sidebar',
   data(){
     return {
+      collapse: false
     }
   },
   inject: ["Index"],
   components: { sidebarItem, logo },
   created() {
     this.Index.openMenu(this.menuId);
+    // console.log(window.innerWidth);
+    // if(window.innerWidth <= 768){
+    //   this.collapse = true
+    //   this.$store.commit('SET_COLLAPSE')
+    // }
   },
+  // watch:{
+  //   'window.innerWidth':{
+  //     handler(newVal){
+  //       console.log(newVal);
+  //     },
+  //     deep: true
+  //   }
+  // },
   computed: {
     ...mapGetters(['website', 'menu', 'tag', 'keyCollapse', 'screen']),
     filterMenu: function(){

--
Gitblit v1.9.3