调整老版本地图报错

This commit is contained in:
joylink_fanyuhong 2020-03-11 19:54:48 +08:00
parent 8ad0544dc2
commit cf456057c3

View File

@ -516,7 +516,7 @@ const map = {
if (map && map.skinVO) {
state.map = map;
let showConfig = {};
if (Vue.prototype.$jlmap) {
if (Vue.prototype.$jlmap && ( typeof(Vue.prototype.$jlmap.getShowConfig) === 'function')) {
showConfig = Vue.prototype.$jlmap.getShowConfig();
}
state.mapDevice = parser(map, map.skinVO.code, showConfig);