代码调整

This commit is contained in:
fan 2020-03-23 13:52:50 +08:00
parent 0e23e9f6a9
commit a85f1d8f5e

View File

@ -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') {