chore: 优化部分代码

This commit is contained in:
2024-11-14 21:59:22 +08:00
parent 011643226c
commit ce09f737c3
55 changed files with 58 additions and 63 deletions

View File

@@ -27,7 +27,7 @@
</a-space>
</template>
<script lang="ts" setup>
<script setup lang="ts">
defineOptions({ name: 'GiCellAvatar' })
const props = withDefaults(defineProps<Props>(), {

View File

@@ -12,7 +12,7 @@
</a-tag>
</template>
<script lang="ts" setup>
<script setup lang="ts">
defineOptions({ name: 'GiCellGender' })
const props = withDefaults(defineProps<Props>(), {

View File

@@ -9,7 +9,7 @@
</span>
</template>
<script lang="ts" setup>
<script setup lang="ts">
defineOptions({ name: 'GiCellStatus' })
const props = withDefaults(defineProps<Props>(), {

View File

@@ -9,7 +9,7 @@
<a-tag v-else :color="dictItem.extend">{{ dictItem.label }}</a-tag>
</template>
<script lang="ts" setup>
<script setup lang="ts">
import type { LabelValueState } from '@/types/global'
import type { GiCellTagType } from '@/components/GiCell/type'

View File

@@ -18,7 +18,7 @@
</a-overflow-list>
</template>
<script lang="ts" setup>
<script setup lang="ts">
defineOptions({ name: 'GiCellTags' })
withDefaults(defineProps<Props>(), {