feat: 定义 component name for MapToolbar in map-toolbar.vue
This commit is contained in:
parent
e791fa4e3c
commit
37cee2f0bc
@ -142,6 +142,11 @@ onMounted(() => {
|
||||
onBeforeUnmount(() => {
|
||||
window.removeEventListener('keydown', onKeydown);
|
||||
});
|
||||
|
||||
// 定义组件名称
|
||||
defineOptions({
|
||||
name: 'MapToolbar'
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
Loading…
x
Reference in New Issue
Block a user