Skip to content

Commit

Permalink
Merge branch 'upstream'
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-29 committed Jun 21, 2023
2 parents 0260ae0 + 5b64a70 commit 0cf090a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions scripts/codoon_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,9 +499,10 @@ def parse_raw_data_to_namedtuple(
latlng_data = [
list(eviltransform.gcj2wgs(p[0], p[1])) for p in latlng_data
]
for i, p in enumerate(run_points_data):
p["latitude"] = latlng_data[i][0]
p["longitude"] = latlng_data[i][1]
if run_points_data:
for i, p in enumerate(run_points_data):
p["latitude"] = latlng_data[i][0]
p["longitude"] = latlng_data[i][1]

if with_gpx:
# pass the track no points
Expand Down
2 changes: 1 addition & 1 deletion src/components/RunTable/style.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@media only screen and (max-width: 700px) {

/* 当屏幕宽度小于 700px 时 */
.runTable th:nth-child(4),
.runTable th:nth-child(5),
.runTable td:nth-child(5) {
display: none;
/* 隐藏第5列 */
Expand Down

0 comments on commit 0cf090a

Please sign in to comment.