diff --git a/src/views/lsxmsb/TemporaryProject.vue b/src/views/lsxmsb/TemporaryProject.vue
index a40a615..acabd2a 100644
--- a/src/views/lsxmsb/TemporaryProject.vue
+++ b/src/views/lsxmsb/TemporaryProject.vue
@@ -163,7 +163,11 @@
};
onMounted(() => {
- getProjectss();
+ let initeTimer = setInterval(() => {
+ if (!newfiberMap) return;
+ getProjectss();
+ clearInterval(initeTimer);
+ }, 100);
setTimeout(() => {
newfiberMap.map.on('click', 'point', (e) => {
const feature = (
diff --git a/src/views/lsxmsb/TemporaryProject.vue b/src/views/lsxmsb/TemporaryProject.vue
index a40a615..acabd2a 100644
--- a/src/views/lsxmsb/TemporaryProject.vue
+++ b/src/views/lsxmsb/TemporaryProject.vue
@@ -163,7 +163,11 @@
};
onMounted(() => {
- getProjectss();
+ let initeTimer = setInterval(() => {
+ if (!newfiberMap) return;
+ getProjectss();
+ clearInterval(initeTimer);
+ }, 100);
setTimeout(() => {
newfiberMap.map.on('click', 'point', (e) => {
const feature = (
diff --git a/src/views/wsctb/SewageReporting.vue b/src/views/wsctb/SewageReporting.vue
index e7d3740..863f7ac 100644
--- a/src/views/wsctb/SewageReporting.vue
+++ b/src/views/wsctb/SewageReporting.vue
@@ -1,3 +1,8 @@
- 污水厂填报
+ 污水厂填报
+
+
+
+
+
diff --git a/src/views/lsxmsb/TemporaryProject.vue b/src/views/lsxmsb/TemporaryProject.vue
index a40a615..acabd2a 100644
--- a/src/views/lsxmsb/TemporaryProject.vue
+++ b/src/views/lsxmsb/TemporaryProject.vue
@@ -163,7 +163,11 @@
};
onMounted(() => {
- getProjectss();
+ let initeTimer = setInterval(() => {
+ if (!newfiberMap) return;
+ getProjectss();
+ clearInterval(initeTimer);
+ }, 100);
setTimeout(() => {
newfiberMap.map.on('click', 'point', (e) => {
const feature = (
diff --git a/src/views/wsctb/SewageReporting.vue b/src/views/wsctb/SewageReporting.vue
index e7d3740..863f7ac 100644
--- a/src/views/wsctb/SewageReporting.vue
+++ b/src/views/wsctb/SewageReporting.vue
@@ -1,3 +1,8 @@
- 污水厂填报
+ 污水厂填报
+
+
+
+
+
diff --git a/src/views/xuncha/gisCommonPage/newFiberMapBox.vue b/src/views/xuncha/gisCommonPage/newFiberMapBox.vue
index 3d282b7..7671774 100644
--- a/src/views/xuncha/gisCommonPage/newFiberMapBox.vue
+++ b/src/views/xuncha/gisCommonPage/newFiberMapBox.vue
@@ -394,13 +394,7 @@
'text-font': ['KlokanTech Noto Sans Regular'],
'text-letter-spacing': 0.1,
'text-rotation-alignment': 'map',
- 'text-size': {
- base: 1.4,
- stops: [
- [10, 16],
- [20, 22],
- ],
- },
+ 'text-size': 12,
'text-transform': 'uppercase',
},
paint: {
@@ -408,6 +402,7 @@
'text-color': 'rgba(30, 30, 30,1)',
'icon-opacity': 1,
'text-halo-width': 1,
+ 'text-allow-overlap': true,
},
});
};