From a0c0c57709d1f2f82f536a02b113f65d7b338209 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 26 十二月 2023 14:31:16 +0800
Subject: [PATCH] 	modified:   src/page/index/sidebar/index.vue 	modified:   src/views/plan/productionschedul/index.vue 	modified:   src/views/quality/rawMaterial/rawMaterial-form.vue

---
 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