zjs_project 1 vuosi sitten
vanhempi
commit
093f1211df

+ 1 - 0
src/components/newBottomCom/viewPlot/viewPlot.scss

@@ -96,6 +96,7 @@
 	.content{
 		position: absolute;
 		.item{
+			position: relative;
 			width:222px;
 			box-sizing: border-box;
 			margin-right: 10px;

+ 2 - 0
src/components/newBottomCom/viewPlot/viewPlot.vue

@@ -83,6 +83,7 @@
 				if (!res.success || !res.list || res.list.length == 0) {
 					return false;
 				}
+				this.selectIndex = arr.findIndex(it=>it==this.selectSpace.layoutId)
 				let list = res.list;
 				list.forEach(item=>{
 					//布局列表当中不存在当前布局的类型
@@ -96,6 +97,7 @@
 						}
 						this.plotList.push(_d0);
 					}else{
+						data.count ++;
 						data.dataList.push(item);
 					}
 				});