2 Commits d3a88defdf ... 6632bde5e5

Autor SHA1 Mensaje Fecha
  wangjiawen 6632bde5e5 Merge branch 'master' of http://49.4.49.126:3000/Gyee_web/sisMobilePhone hace 4 años
  wangjiawen db12dcc549 左侧导航地图显示问题 hace 4 años

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