Skip to content
This repository was archived by the owner on Jan 9, 2022. It is now read-only.

Commit 9563494

Browse files
Michael.KryvoruchkoMichael.Kryvoruchko
Michael.Kryvoruchko
authored and
Michael.Kryvoruchko
committed
fix: add defineComponent to GDialogRoot export
1 parent 7d70812 commit 9563494

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/dialog/src/components/GDialogRoot.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
</template>
1010

1111
<script lang="ts">
12-
import { inject } from 'vue'
12+
import { defineComponent, inject } from 'vue'
1313
1414
import { dialogInjectionKey } from '../index'
1515
16-
export default {
16+
export default defineComponent({
1717
name: 'GDialogRoot',
1818
1919
setup() {
@@ -35,5 +35,5 @@ export default {
3535
onClose,
3636
}
3737
},
38-
}
38+
})
3939
</script>

0 commit comments

Comments
 (0)