kongzy
2024-07-01 47a751cb301d05276ae5d75145d57b2d090fe4e1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
 * Created by johnny on 15/2/21.
 */
function countryCustomFilter(itemLabel, filterValue) {
    if (itemLabel == null || filterValue == null) {
        return false;
    }
    if (itemLabel.toLowerCase().indexOf(filterValue.toLowerCase()) > -1) {
        return true;
    }
    return false;
}
 
function openwin(url) {
    var a = document.createElement("a");
    a.setAttribute("href", url);
    a.setAttribute("target", "_blank");
    document.body.appendChild(a);
    a.click();
}