@using MySystem.Models; @{ string RightInfo = ViewBag.RightInfo as string; string right = ViewBag.right as string; List Brands = ViewBag.Brands as List; } 循环返风控白名单
@if (RightInfo.Contains("," + right + "_add,")) { } @if (RightInfo.Contains("," + right + "_export,")) { }