perf: 选项显示图标

This commit is contained in:
xiaojunnuo
2024-11-30 01:57:09 +08:00
parent 7b55337c5e
commit aedc462135
54 changed files with 298 additions and 52 deletions

View File

@@ -1,5 +1,5 @@
<template>
<a-select class="dns-provider-selector" :value="modelValue" :options="options" @update:value="onChanged"> </a-select>
<icon-select class="dns-provider-selector" :value="modelValue" :options="options" @update:value="onChanged"> </icon-select>
</template>
<script lang="ts">
@@ -24,7 +24,8 @@ export default {
for (let item of list) {
array.push({
value: item.name,
label: item.title
label: item.title,
icon: item.icon
});
}
options.value = array;