작성
·
29
0
저번에 이중slot 문의 올린 건과 이어서,
아래와 같이 slot에 v-if로 2개의 컴포넌트를 전달하면...
v == true 인 케이스만 ㅜㅜ 인식이 되는 것 같습니다.
<template #iconRender="v">
<EyeTwoTone v-if="v"></EyeTwoTone> <!-- 이것만 인식 -->
<EyeInvisibleOutlined v-else></EyeInvisibleOutlined>
</template>
답변