Commit 7dd5c0e9 authored by daniel's avatar daniel

feat(road): 打卡点新增赛事id

parent 81f54bc5
......@@ -43,6 +43,7 @@ $(document).ready(function () {
obj.isTime = $(e).find('input[type=checkbox]').get(0).checked;
obj.name = $(e).find('input[type=text]').val();
obj.pathId = $("#pathId").val();
obj.cmptId = getCmptId();
if (obj.isTime) timerCount++;
if (obj.isTime && !obj.distance && obj.distance <= 0) {
flag = false;
......
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 to comment