Commit d64778b8 by 潘建波

fix🐛 设备管理鼠标移入节点鼠标样式变为手势

1 parent 4f65cda7
......@@ -269,6 +269,7 @@ export default {
.size(130, 40)
.move(50, 50)
.data("sdv", data);
nested.attr({ cursor: "pointer" });
var rect = nested
.rect(130, 40)
.attr({ fill: "#123e6c", opacity: 0.6 })
......@@ -315,6 +316,7 @@ export default {
.size(130, 40)
.move(point.x, point.y)
.data("childsdv", ele);
nested.attr({ cursor: "pointer" });
var rect = nested
.rect(130, 40)
.stroke({ color: "#333", opacity: 0.5, width: 1 })
......@@ -407,6 +409,7 @@ export default {
.size(130, 40)
.move(point.x, point.y)
.data("childsdv", ele);
nested.attr({ cursor: "pointer" });
var rect = nested
.rect(130, 40)
.attr({ fill: `rgb(${_this.setsubcolor(index)})` })
......@@ -423,7 +426,6 @@ export default {
//事件点击
nested.click(function() {
let data = this.data("childsdv");
console.log("leval",data)
_this.curDevData = data;
});
});
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!