v-selectpage Demo

v-selectpage 调用右上角的事件

遇到的问题,当多选时选中选项后,数据源改变时下拉会弹出来,这时可以手动关闭下拉,如下:

setTimeout(function(){

that.$refs.sp2.close();//延时关闭下拉

},50);

其他操作:

that.$refs.sp.pickPage();//全选当前页

that.$refs.sp.pickPage(false);//清除当前页已选中项

that.$refs.sp.remove();//清除所有已选中项

that.$refs.sp.close();//关闭Drodown下拉

源代码位置:

v-selectpage 调用右上角的事件

 

相关文章:

  • 2022-12-23
  • 2022-01-13
  • 2021-06-04
  • 2022-12-23
  • 2021-10-19
  • 2022-02-07
  • 2021-10-18
  • 2021-09-02
猜你喜欢
  • 2021-06-05
  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案