私はGetOrgChartバージョン2.4.8を使用しています 同じバージョンのクロムを使用していたにもかかわらず、動きに似た問題があり、矢印が動作しなかったり一部のマシンで表示されませんでした。 getorgchart.jsファイル、特に以下のコードを更新した場合、問題は解決されます。 したがって、このコードブロックを検索し、中に、
if (this.config.enableMove) {
if ("ontouchstart" in window) {
this._q(this._X._t, "touchstart", this._y, "canvasContainer");
this._q(this._X._t, "touchmove", this._b, "canvasContainer");
this._q(this._X._t, "touchend", this._g, "canvasContainer")
} else {
this._q(this._X._zr, "mousedown", this._aS);
this._q(this._X._am, "mousedown", this._aS);
this._q(this._X._Q, "mousedown", this._aS);
this._q(this._X._zB, "mousedown", this._aS);
this._q(this._X._t, "mousemove", this._aA);
this._q(this._X._t, "mousedown", this._aQ);
this._q(this._X._t, "mouseup", this._aZ);
this._q(this._X._t, "mouseleave", this._aZ)
}
}
からそれを変更します。
if (this.config.enableMove) {
this._q(this._X._zr, "mousedown", this._aS);
this._q(this._X._am, "mousedown", this._aS);
this._q(this._X._Q, "mousedown", this._aS);
this._q(this._X._zB, "mousedown", this._aS);
this._q(this._X._t, "mousemove", this._aA);
this._q(this._X._t, "mousedown", this._aQ);
this._q(this._X._t, "mouseup", this._aZ);
this._q(this._X._t, "mouseleave", this._aZ)
}