$.each(colorlist, function (index) {
var bnum = 0;
$.each(colorlist, function (index2) {
if (colorlist[index] == colorlist[index2]) { bnum += 1; }
})
if (bnum > 1) { alert("存在重复的颜色!请核查"); return false; }
})
编辑器加载中...