feat: use defineOptions for Loadings.vue
This commit is contained in:
parent
4bd9c79912
commit
ff2644d1c5
@ -5,18 +5,12 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
|
||||||
export default {
|
|
||||||
inheritAttrs: true,
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
const {
|
withDefaults(defineProps<{
|
||||||
variant = 'default',
|
|
||||||
} = defineProps<{
|
|
||||||
variant?: 'default' | 'small'
|
variant?: 'default' | 'small'
|
||||||
}>()
|
}>(), {
|
||||||
|
variant: 'default',
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user