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

@@ -3,7 +3,7 @@ import Component from './index.vue'
import type { IDefineComponent } from '../type/index'
Component.install = (app: App) => {
app.component(Component.name || 'LayTimelineItem', Component)
app.component(Component.name || 'LayTimelineItem', Component)
}
export default Component as IDefineComponent

View File

@@ -8,7 +8,7 @@
<h3 v-else class="layui-timeline-title">
{{ title }}
</h3>
<slot></slot>
<slot />
</div>
</li>
</template>
@@ -16,9 +16,8 @@
<script setup name="LayTimelineItem" lang="ts">
import { defineProps } from 'vue'
const props =
defineProps<{
title: string
simple?: boolean
}>()
const props = defineProps<{
title: string
simple?: boolean
}>()
</script>