如圖:
?
@ViewBag.userName
@if (x.menuId == 1)
{
x.menuName
}
else
{
x.menuName
}
window.longinUrl= '@Url.Action("Index", "Login")';
menuData是數(shù)據(jù)源 從數(shù)據(jù)庫取出的?
數(shù)據(jù)菜單配置?
?
因為地址的問題 用了 ?Url.Action("x.actionName", "x.controllerName") 。請問如何解決這個問題呢 。不用Url.Action地址 前面的變。
?
注:圖片看不清 右擊打開 。
mvc和angularjs 寫法的疑問 求救 謝謝大俠
阿波羅的戰(zhàn)車
2018-12-06 20:03:16