Skip to content

Commit

Permalink
feat: refactor to defineOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
yue1123 committed Jun 11, 2023
1 parent 712597e commit c903a53
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/components/control/control/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@
return () => map.removeControl(customControl)
})
})
</script>
<script lang="ts">
export default {
defineOptions({
name: 'BControl',
inheritAttrs: false
}
})
</script>

0 comments on commit c903a53

Please sign in to comment.