<div id="divActualProductionLine"></div>
if (viewModel.EDNMain.Plant != null && viewModel.EDNMain.Plant.indexOf("1201")) {
$("#divActualProductionLine").css('display', 'block');
} else {
$("#divActualProductionLine").css('display', 'none');
}
标签:Plant,显隐,viewModel,js,EDNMain,div,divActualProductionLine From: https://www.cnblogs.com/jxw-29/p/17143153.html