添加关照、全局等高线、修改图层问题
This commit is contained in:
@ -191,8 +191,6 @@ const test = {
|
||||
});
|
||||
},
|
||||
map2d() {
|
||||
window.multiViewportMode = true;
|
||||
window.splitScreen = false
|
||||
console.log('window.splitScreen',window.splitScreen,'window.multiViewportMode',window.multiViewportMode);
|
||||
// 判断window.menuList是否存在
|
||||
if (window.checkAuthIsValid) {
|
||||
@ -201,7 +199,6 @@ const test = {
|
||||
tool.forEach((item) => {
|
||||
if (item.name == "splitScreen") {
|
||||
if (item.status == true) {
|
||||
|
||||
item.status = false;
|
||||
this.halfEarth = false;
|
||||
}
|
||||
@ -212,8 +209,11 @@ const test = {
|
||||
|
||||
if (this.halfEarth) {
|
||||
YJ.Global.multiViewportMode.on(window.Earth1);
|
||||
window.multiViewportMode = true;
|
||||
window.splitScreen = false
|
||||
} else {
|
||||
YJ.Global.multiViewportMode.off(window.Earth1);
|
||||
window.multiViewportMode = false;
|
||||
}
|
||||
} else {
|
||||
this.$message({
|
||||
|
Reference in New Issue
Block a user