style(projects): update prettier config

This commit is contained in:
Soybean
2022-04-01 14:47:57 +08:00
parent ca2dfa6185
commit df56abe18d
128 changed files with 2237 additions and 2037 deletions

View File

@ -18,7 +18,7 @@ interface Emits {
}
const props = withDefaults(defineProps<Props>(), {
dark: false,
dark: false
});
const emit = defineEmits<Emits>();
@ -29,7 +29,7 @@ const darkMode = computed({
},
set(newValue: boolean) {
emit('update:dark', newValue);
},
}
});
function handleSwitch() {

View File

@ -29,7 +29,7 @@ interface Props {
const props = withDefaults(defineProps<Props>(), {
tooltipContent: '',
placement: 'bottom',
contentClass: '',
contentClass: ''
});
const showTooltip = computed(() => Boolean(props.tooltipContent));

View File

@ -29,7 +29,7 @@ const NaiveProviderContent = defineComponent({
},
render() {
return h('div');
},
}
});
</script>
<style scoped></style>

View File

@ -10,7 +10,7 @@ interface Props {
}
withDefaults(defineProps<Props>(), {
fill: false,
fill: false
});
</script>
<style scoped></style>