2 Commits d3a88defdf ... 6632bde5e5

Auteur SHA1 Bericht Datum
  wangjiawen 6632bde5e5 Merge branch 'master' of http://49.4.49.126:3000/Gyee_web/sisMobilePhone 4 jaren geleden
  wangjiawen db12dcc549 左侧导航地图显示问题 4 jaren geleden
2 gewijzigde bestanden met toevoegingen van 20 en 5 verwijderingen
  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;