style(prettier): reset code style with prettier

This commit is contained in:
落小梅
2021-10-12 11:30:07 +08:00
parent aee99c49c9
commit 2b59e008f3
148 changed files with 4296 additions and 4191 deletions

View File

@@ -1,18 +1,17 @@
<template>
<span :class="classList" :style="styleList">
<slot v-if="type != 'dot'"></slot>
<slot v-if="type != 'dot'" />
</span>
</template>
<script setup name="LayBadge" lang="ts">
import { defineProps } from 'vue'
const props =
defineProps<{
type?: string
theme?: string
color?: string
}>()
const props = defineProps<{
type?: string
theme?: string
color?: string
}>()
const classList = [
{
@@ -24,4 +23,4 @@ const classList = [
]
const styleList = props.color ? 'background-color: ' + props.color : ''
</script>
</script>