fix:修改切换地图类型调接口
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @Author: SunTao 328867980@qq.com
|
||||
* @Date: 2024-10-17 11:34:00
|
||||
* @LastEditors: SunTao 328867980@qq.com
|
||||
* @LastEditTime: 2024-11-07 12:01:48
|
||||
* @LastEditTime: 2024-11-07 12:48:21
|
||||
* @FilePath: \znxjxt-ui\src\views\big-screen\index.vue
|
||||
* @Description: 大屏首页
|
||||
-->
|
||||
@@ -517,6 +517,7 @@ export default {
|
||||
this.clusters = null;
|
||||
this.markLayerLines = null;
|
||||
this.mapCenterPoint = {};
|
||||
this.roadSelect = "";
|
||||
}
|
||||
},
|
||||
|
||||
@@ -717,6 +718,8 @@ export default {
|
||||
|
||||
/* 地图下方4图标类别切换点击事件 */
|
||||
changeIconType(value) {
|
||||
this.mapZoom = "";
|
||||
this.roadSelect = "";
|
||||
if (this.mapClick !== value) {
|
||||
this.mapClick = value;
|
||||
this.$nextTick(() => {
|
||||
@@ -972,6 +975,7 @@ export default {
|
||||
|
||||
/* 图片位置信息获取 */
|
||||
updateScreenRects() {
|
||||
1;
|
||||
this.screenRects = [];
|
||||
const image = this.$refs.mainImage;
|
||||
const rects = this.screenImage?.rect?.split(",").map(Number) || [];
|
||||
|
||||
Reference in New Issue
Block a user