desc: 屏蔽获取不到list 报错问题

This commit is contained in:
zyy 2019-11-25 11:01:57 +08:00
parent 811e919236
commit 93094cf623

View File

@ -319,10 +319,18 @@ const map = {
return state.map;
},
psdList: (state) => {
return state.map.psdList;
if (state.map) {
return state.map.psdList;
} else {
return [];
}
},
espList: (state) => {
return state.map.espList;
if (state.map) {
return state.map.espList;
} else {
return [];
}
},
lineCode: (state) => {
if (state.map && state.map.skinVO) {