forked from FoundKeyGang/FoundKey
refactor: slot.vue to composition api
This commit is contained in:
parent
f236653c26
commit
5152ff89ee
1 changed files with 4 additions and 6 deletions
|
@ -8,12 +8,10 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
|
||||
export default defineComponent({
|
||||
|
||||
});
|
||||
<script lang="ts" setup>
|
||||
function focus(): void {
|
||||
window.focus();
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
|
Loading…
Reference in a new issue