完成筛选

This commit is contained in:
lq
2025-09-04 11:09:21 +08:00
parent 19f2eb86f9
commit 835032ad3a
2 changed files with 67 additions and 26 deletions

View File

@ -13,7 +13,10 @@
@change="handleChange"
>
<a-option v-for="(item, index) in options" :key="index" :value="item.id" :label="item.name">
{{ item.name }}
<div class="flex items-center">
<img v-if="item.icon" :src="item.icon" class="w-16px h-16px mr-8px rounded-4px" />
{{ item.name }}
</div>
</a-option>
</a-select>
</template>
@ -68,4 +71,4 @@ const handleChange = (value) => {
selectedValues.value = value;
emits('change', value);
};
</script>
</script>