最近在写公司业务的时候,有需要用到transfer的业务场景,但是ele给的穿梭框组件并不是很符合期望要求,故自己基于eleui手写了一个穿梭框;
效果如下:

具体代码如下,给大家一个参考!
a列表
{
{ getCheckedList({ arr: alist, type: "length", checkedStr: "achecked", }) }} / {
{ alist.length }}
- {
{ item.title }}
b列表
{
{ getCheckedList({ arr: blist, type: "length", checkedStr: "bchecked", }) }} / {
{ blist.length }}
- {
{ item.title }}
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/202764.html原文链接:https://javaforall.net
