任务管理
This commit is contained in:
@ -14,7 +14,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>
|
||||
@ -73,4 +76,4 @@ const handleChange = (value) => {
|
||||
selectedValues.value = value;
|
||||
emits('change', value);
|
||||
};
|
||||
</script>
|
||||
</script>
|
||||
Reference in New Issue
Block a user