VUE element Transfer 穿梭框 自定義數據

1.Transfer 穿梭框自定義數據時有兩種方式: (1)使用「render-content 函數」方式 (2)使用「 slot-scope="{ option }"方式 使用render-content 函數: 首先設置函數: 然後調用: 最後在上面函數中寫自己想要的格式就好。 使用slot-scope="{ option }" 方式 直接添加自定義: 備註:要注意一定要加上key 值,部分會
相關文章
相關標籤/搜索