@{ string RightInfo = ViewBag.RightInfo as string; string right = ViewBag.right as string; string UserId = ViewBag.UserId as string; } 创客分润规则
@if (RightInfo.Contains("," + right + "_add,")) { } @if (RightInfo.Contains("," + right + "_delete,")) { } @if (RightInfo.Contains("," + right + "_edit,")) { }