mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-03 14:56:04 +08:00
style(projects): sort defineProps, defineEmits with TS type
This commit is contained in:
@@ -5,14 +5,14 @@ defineOptions({
|
||||
name: 'GlobalLogo'
|
||||
});
|
||||
|
||||
withDefaults(defineProps<Props>(), {
|
||||
showTitle: true
|
||||
});
|
||||
|
||||
interface Props {
|
||||
/** Whether to show the title */
|
||||
showTitle?: boolean;
|
||||
}
|
||||
|
||||
withDefaults(defineProps<Props>(), {
|
||||
showTitle: true
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user