mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-10-05 16:17:00 +08:00
更换为null_time,null_int
This commit is contained in:
@@ -2,12 +2,15 @@
|
||||
<div>
|
||||
<template v-for="(item, index) in getOptions" :key="index">
|
||||
<span :style="{ color: item.color }"
|
||||
>{{ index != 0 ? '、' : '' }}{{ item[props.valueKey] }}</span
|
||||
>{{ index != 0 ? '、' : '' }}{{ item[props.labelKey] }}</span
|
||||
>
|
||||
</template>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
defineOptions({
|
||||
name: 'dict-value'
|
||||
})
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
options: any[]
|
||||
|
Reference in New Issue
Block a user