拖动from marker 可以正常移动 ,但是拖动to 只能固定一个点位 $("#range").on("change", function () { var $this = $(this), from = $this.data("from"); to = $this.data("to"); var fromData = fromToDis(json.data,to); computeOffsetCommon(fromData,1,"起点"); var toData = fromToDis(json.data,from); computeOffsetCommon(toData,2,"末点"); });
添加回答
举报
0/150
提交
取消