support baidu map

This commit is contained in:
MaysWind
2023-06-17 13:40:34 +08:00
parent 530ef6b83e
commit 3bae6e749a
7 changed files with 230 additions and 89 deletions
+5
View File
@@ -13,6 +13,7 @@ import { mapStores } from 'pinia';
import { useTokensStore } from '@/stores/token.js';
import { useExchangeRatesStore } from '@/stores/exchangeRates.js';
import { loadMapAssets } from '@/lib/map.js';
import { isModalShowing, setAppFontSize } from '@/lib/ui.mobile.js';
export default {
@@ -142,6 +143,10 @@ export default {
this.setThemeColorMeta(isDarkMode);
});
});
document.addEventListener('DOMContentLoaded', () => {
loadMapAssets();
});
},
methods: {
isiOSHomeScreenMode() {