This commit is contained in:
fan 2020-06-04 16:44:12 +08:00
commit 554cef84f2

View File

@ -107,7 +107,7 @@ export default {
'$store.state.map.mapViewLoadedCount':function(val) {
const object = document.querySelector('.menuButton');
if (object) {
const objectBottom = parseInt(object.offsetHeight.style.bottom) || 0;
const objectBottom = parseInt(object.style.bottom) || 0;
this.bottom = this.bottom + object.offsetHeight + objectBottom;
}
}