INNER CODE UNIT · JavaScript
czList
ceilf6/Auto_courseGrabber · web结构/展开前页面结构/自主选课_files/index.js:453
var czList = getDifference(allList,ypzList,that.bxspzmxList) //三个数组的差值 表示在页面上的且都不在未配置已配置的list
var newCz = [],newCzList = []
czList = czList.forEach(function(item){
if(item){
newCzList.push(item)
newCz.push({name: item})
}
})
czList = newCzList;
var allNameList = that.list.concat(newCz);
//console.log( allNameList,'allNameList=')
if(that.list && that.list.length){
if(this.allOpt.maxShowNum && that.list && that.list.length>Number(this.allOpt.maxShowNum)){
openStr =
`
<div class="openClose">
<label for="" class="openBtn"><span class="txt">展开</span><span class="img-box"><img src="${_systemPath}/images/zk.png"/></span></label>
</div>