Html
TODO: html中@和@:的作用
@if (RoleOperate.IsOperateType(ViewBag.RoleInfo, EnumOperateType.Delete) ) { //已报价则不能删除 @:if (row.State != 1) { @:operation += '<a class="l-btn-left l-btn-icon-left" οnclick=deleteTask("' + row.ApplyID + '","' + row.ApplyListID + '","' + row.ApplyType + '") ><span class="l-btn-text">@BaseRes.OSP_CTL_028</span><span class="l-btn-icon icon-remove"> </span></a>'; }
}
转载于:https://www.cnblogs.com/lhlong/p/5918706.html