代码调整
This commit is contained in:
parent
0e23e9f6a9
commit
a85f1d8f5e
@ -133,7 +133,7 @@ export default {
|
|||||||
$route() {
|
$route() {
|
||||||
this.mapViewLoaded(true);
|
this.mapViewLoaded(true);
|
||||||
},
|
},
|
||||||
'$store.training.state.prdType': function (val) {
|
'$store.state.training.prdType': function (val) {
|
||||||
this.changePrdType(val);
|
this.changePrdType(val);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -349,7 +349,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 综合演练切换现地行调模式
|
// 综合演练切换现地行调模式
|
||||||
changePrdType(val) {
|
changePrdType(val) {
|
||||||
const nameList = Object.keys(this.$store.state.map.map);
|
const nameList = Object.keys(this.$store.state.map.map || {});
|
||||||
let list = [];
|
let list = [];
|
||||||
nameList.forEach(item => {
|
nameList.forEach(item => {
|
||||||
if (item !== 'skinVO') {
|
if (item !== 'skinVO') {
|
||||||
|
Loading…
Reference in New Issue
Block a user