$(".select2").select2({ language: { noResults: function (params) { return "暂无数据"; } } })
$(".select2").select2({ language: { noResults: function (params) { return "暂无数据"; } } })
select2插件替换掉数据列表为空时候的No results found的提示
原文:https://www.cnblogs.com/fullstack-yang/p/8242294.html