2 次代码提交 d3a88defdf ... 6632bde5e5

作者 SHA1 备注 提交日期
  wangjiawen 6632bde5e5 Merge branch 'master' of http://49.4.49.126:3000/Gyee_web/sisMobilePhone 4 年之前
  wangjiawen db12dcc549 左侧导航地图显示问题 4 年之前
共有 2 个文件被更改,包括 20 次插入5 次删除
  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;