Commit 131228a2 by liuwange1

123

parent c039c274
......@@ -110,6 +110,17 @@ export default {
},
equipmentClickHandle(index) {
this.activeIndex = index;
this.$axios
.get("/deviceInfo/getDevicePopup", {
deviceType: this.options[this.optionActiveIndex].key,
deviceCode: this.equipmentList[index].deviceStandCode,
})
.then((e) => {
this.$axios.post("/osc/sendString", {
arg: JSON.stringify(e),
name: "/SBTC_OSC",
});
});
},
},
};
......@@ -186,8 +197,12 @@ export default {
/*只需要添加父元素的after伪元素中 高度0 ,宽度与item的宽一样*/
}
> div {
width: 170px;
margin-right: 12px;
margin-bottom: 10px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.bottom {
......
......@@ -203,7 +203,7 @@ export default {
margin-right: 12px;
margin-bottom: 10px;
&.ww {
width: 150px;
width: 170px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment