|
@@ -126,12 +126,11 @@ export default {
|
|
|
const processedData = this.processTreeData(treedata);
|
|
|
this.parentOpt = processedData;
|
|
|
this.defaultdata = res.data[0];
|
|
|
- this.parentChange( this.defaultdata);
|
|
|
+ this.parentChange(this.defaultdata);
|
|
|
// const firstLayer = this.findFirstFieldLayer(processedData);
|
|
|
// if (firstLayer) {
|
|
|
// this.parentChange( this.defaultdata);
|
|
|
- // }
|
|
|
-
|
|
|
+ // }
|
|
|
},
|
|
|
//过滤数据
|
|
|
processTreeData(treeData) {
|
|
@@ -242,7 +241,8 @@ export default {
|
|
|
.map-ditu {
|
|
|
// min-width: 86.9vw;
|
|
|
// max-width: 94.9vw;
|
|
|
- height: 93vh;
|
|
|
+ // height: 93vh;
|
|
|
+ height: 100%;
|
|
|
position: relative;
|
|
|
}
|
|
|
|