From 80a819a2c639965797c6906d1a8dc700e8c868b4 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 18 Jul 2024 17:09:55 +0800
Subject: [PATCH] 加载倾斜影像模型数据位置更改; 加载影像底图数据位置更改;

---
 src/components/map/label.js |  109 +++---------------------------------------------------
 1 files changed, 7 insertions(+), 102 deletions(-)

diff --git a/src/components/map/label.js b/src/components/map/label.js
index c5ce86c..d5477c5 100644
--- a/src/components/map/label.js
+++ b/src/components/map/label.js
@@ -1,102 +1,7 @@
-export const label = [
-    '01',
-    '02',
-    '03',
-    '04',
-    '05',
-    '06',
-    '07',
-    '08',
-    '09',
-    '10',
-    '11',
-    '12',
-    '13',
-    '14',
-    '15',
-    '16',
-    '17',
-    '18',
-    '19',
-    '20',
-    '21',
-    '22',
-    '23',
-    '24',
-    '25',
-    '26',
-    '27',
-    '28',
-    '29',
-    '30',
-    '31',
-    '32',
-    '33',
-    '34',
-    '35',
-    '36',
-    '37',
-    '38',
-    '39',
-    '40',
-    '41',
-    '42',
-    '43',
-    '44',
-    '45',
-    '46',
-    '47',
-    '48',
-    '49',
-    '50',
-    '51',
-    '52',
-    '53',
-    '54',
-    '55',
-    '56',
-    '57',
-    '58',
-    '59',
-    '60',
-    '61',
-    '62',
-    '63',
-    '64',
-    '65',
-    '66',
-    '67',
-    '68',
-    '69',
-    '70',
-    '71',
-    '72',
-    '73',
-    '74',
-    '75',
-    '76',
-    '77',
-    '78',
-    '79',
-    '80',
-    '81',
-    '82',
-    '83',
-    '84',
-    '85',
-    '86',
-    '87',
-    '88',
-    '89',
-    '90',
-    '91',
-    '92',
-    '93',
-    '94',
-    '95',
-    '96',
-    '97',
-    '98',
-    '99',
-    '100'
-]
\ No newline at end of file
+function* generateNumbersGenerator(start, end) {
+  for (let i = start; i <= end; i++) {
+    yield i.toString().padStart(2, "0");
+  }
+}
+
+export const label = Array.from(generateNumbersGenerator(1, 1000));

--
Gitblit v1.9.3