var resultmod = this.service.modulelist;
resultmod.forEach(function (item) {
if (item.visibility_flag == false) {
/*delete visible flag */
var pid = commonarray[0].permission_id;
console.log(pid);
this.service.deletemoduleval(pid, item.module_id).subscribe(res => {
});
}
});
这是我的代码var resultmod = this.service.modulelist; resultmod.forEach(function(item){if(item.visibility_flag == false){/ *删除可见标志* / var pid = commonarray [0] ....
特定