mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 23:47:33 +08:00
migrate map sheet to composition API and typescript
This commit is contained in:
@@ -56,7 +56,7 @@ const finalMapStyle = computed<Record<string, unknown>>(() => {
|
||||
return styles;
|
||||
});
|
||||
|
||||
function init() {
|
||||
function initMapView() {
|
||||
let isFirstInit = false;
|
||||
let centerChanged = false;
|
||||
|
||||
@@ -112,6 +112,6 @@ function init() {
|
||||
}
|
||||
|
||||
defineExpose({
|
||||
init
|
||||
initMapView
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user