mirror of
https://github.com/certd/certd.git
synced 2026-05-18 14:27:36 +08:00
edeb817c39
- 新增Technitium DNS Server插件,包含DNS提供商和授权配置 - 实现DNS记录创建、删除和域名列表获取功能 - 添加默认DNS传播等待时间配置 - 优化用户取消操作时的错误处理 - 为图标选择组件添加过滤功能 - 更新DNS提供商开发文档
23 lines
626 B
Vue
23 lines
626 B
Vue
<template>
|
|
<a-select :value="value" :filter-option="true" @update:value="onChange">
|
|
<a-select-option v-for="item of options" :key="item.value" :value="item.value" :label="item.label">
|
|
<span class="flex-o">
|
|
<fs-icon :icon="item.icon" class="fs-16 color-blue mr-5" />
|
|
{{ item.label }}
|
|
</span>
|
|
</a-select-option>
|
|
</a-select>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
const props = defineProps<{
|
|
options: { value: any; label: string; icon: string }[];
|
|
value: any;
|
|
}>();
|
|
|
|
const emit = defineEmits(["update:value"]);
|
|
function onChange(value: any) {
|
|
emit("update:value", value);
|
|
}
|
|
</script>
|