select2去掉搜索框

$("#type_select").select2({
        minimumResultsForSearch: -1
    });
原文地址:https://www.cnblogs.com/cacti/p/6140051.html