desc: 屏蔽获取不到list 报错问题
This commit is contained in:
parent
811e919236
commit
93094cf623
@ -319,10 +319,18 @@ const map = {
|
|||||||
return state.map;
|
return state.map;
|
||||||
},
|
},
|
||||||
psdList: (state) => {
|
psdList: (state) => {
|
||||||
return state.map.psdList;
|
if (state.map) {
|
||||||
|
return state.map.psdList;
|
||||||
|
} else {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
},
|
},
|
||||||
espList: (state) => {
|
espList: (state) => {
|
||||||
return state.map.espList;
|
if (state.map) {
|
||||||
|
return state.map.espList;
|
||||||
|
} else {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
},
|
},
|
||||||
lineCode: (state) => {
|
lineCode: (state) => {
|
||||||
if (state.map && state.map.skinVO) {
|
if (state.map && state.map.skinVO) {
|
||||||
|
Loading…
Reference in New Issue
Block a user