优化地图功能的开关
This commit is contained in:
@@ -59,7 +59,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
onOff: typeof window.mapParam !== "undefined",
|
||||
onOff: typeof window.mapParam !== "undefined" && window.mapParam.enable,
|
||||
deviceService: new DeviceService(),
|
||||
layer: null,
|
||||
lineLayer: null,
|
||||
|
||||
Reference in New Issue
Block a user