Skip to content

Commit

Permalink
style: 更改
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoqianci committed Apr 23, 2024
1 parent 45a7a56 commit 2e8e906
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export function OfficialLayerControl() {
if (isEdit) {
const cloneCustomTiles = cloneDeep(customTiles);
const newImgUrl = Array.isArray(e.img) ? e.img[0].url : `${base64}`;
cloneCustomTiles[editIndex - 4] = {
cloneCustomTiles[editIndex - BASE_LAYER_GROUP.length] = {
id: e.name,
image: newImgUrl,
title: e.name,
Expand Down

0 comments on commit 2e8e906

Please sign in to comment.