这是我的代码。我试过但找不到任何答案。所以任何人都可以帮助我
move = function (dx, dy) {
paper.clear();
this.attr({x: this.ox + dx, y: this.oy + dy});
var arrow = paper.arrow(this.ox,this.oy,this.attrs.x,this.attrs.y,8);
}
rect2.drag(move, start);