2 Incheckningar d3a88defdf ... 6632bde5e5

Upphovsman SHA1 Meddelande Datum
  wangjiawen 6632bde5e5 Merge branch 'master' of http://49.4.49.126:3000/Gyee_web/sisMobilePhone 4 år sedan
  wangjiawen db12dcc549 左侧导航地图显示问题 4 år sedan
2 ändrade filer med 20 tillägg och 5 borttagningar
  1. 8 1
      components/drawer/forecastThreeLineDrawer.vue
  2. 12 4
      components/drawer/threeLineDrawer.vue

+ 8 - 1
components/drawer/forecastThreeLineDrawer.vue

@@ -77,7 +77,14 @@
 			closeDrawer: function() {
 				
 				this.drawerIsShow = false;
-				this.$parent.leftbar();
+				//#ifdef H5
+				   this.$emit("leftbar");
+				//#endif
+				
+				//#ifdef APP-PLUS
+				   this.$parent.leftbar();
+				//#endif
+				
 			},
 			clickChangeColor: function(index) {
 				this.changeGary = index;

+ 12 - 4
components/drawer/threeLineDrawer.vue

@@ -65,11 +65,19 @@
 				this.leftNavigationtitle = leftNavigationtitle;
 			},
 			closeDrawer: function() {
+
 				this.drawerIsShow = false;
-				if(this.$parent!=undefined)
-				{
-					this.$parent.leftbar();
-				}
+
+				//#ifdef H5
+				
+				   this.$root.leftbar();
+
+				//#endif
+				
+				//#ifdef APP-PLUS
+				   this.$parent.leftbar();
+				//#endif
+
 			},
 			clickChangeColor: function(index) {
 				this.changeGary = index;