<docs>
---
order: 11
title:
zh-CN: 后缀图标
en-US: Suffix
## zh-CN
自定义后缀图标
## en-US
Custom suffix icon
</docs>
<template>
<a-space>
<a-cascader
v-model:value="value1"
style="margin-top: 1rem"
:options="options"
placeholder="Please select"
>
<template #suffixIcon><smile-outlined class="test" /></template>
</a-cascader>
v-model:value="value2"
suffix-icon="ab"
/>
</a-space>
</template>
<script lang="ts" setup>
import { SmileOutlined } from '@ant-design/icons-vue';
import { ref } from 'vue';
import type { CascaderProps } from 'ant-design-vue';
const options: CascaderProps['options'] = [
{
value: 'zhejiang',
label: 'Zhejiang',
children: [
value: 'hangzhou',
label: 'Hangzhou',
value: 'xihu',
label: 'West Lake',
},
],
value: 'jiangsu',
label: 'Jiangsu',
value: 'nanjing',
label: 'Nanjing',
value: 'zhonghuamen',
label: 'Zhong Hua Men',
];
const value1 = ref<string[]>([]);
const value2 = ref<string[]>([]);
</script>