style(prettier): reset code style with prettier
This commit is contained in:
@@ -3,7 +3,7 @@ import Component from './index.vue'
|
||||
import type { IDefineComponent } from '../type/index'
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name || 'LayProgress', Component)
|
||||
app.component(Component.name || 'LayProgress', Component)
|
||||
}
|
||||
|
||||
export default Component as IDefineComponent
|
||||
|
||||
@@ -19,13 +19,12 @@
|
||||
<script setup name="LayProgress" lang="ts">
|
||||
import { defineProps } from 'vue'
|
||||
|
||||
const props =
|
||||
defineProps<{
|
||||
percent: number | string
|
||||
theme?: string
|
||||
color?: string
|
||||
size?: string
|
||||
showText?: boolean
|
||||
text?: string
|
||||
}>()
|
||||
</script>
|
||||
const props = defineProps<{
|
||||
percent: number | string
|
||||
theme?: string
|
||||
color?: string
|
||||
size?: string
|
||||
showText?: boolean
|
||||
text?: string
|
||||
}>()
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user