PageAdmin网站内容管理系统(CMS)交流论坛

首页 » PageAdmin使用区 » 安装及使用交流 » ViewBag.CustomRouteParameter
zhang1 - 2020/2/12 10:00:13
请问   string[] customRouteParameter = ViewBag.CustomRouteParameter; ViewBag.CustomRouteParameter的值为null该如何处理啊
xiyou - 2020/2/12 15:08:45
你需要获取什么数据?
如果需要获取url地址的数组,可以用

string[] customRouteParameter =Html.PagePathNode();
或者
string pagePath=Html.PagePath();
1
查看完整版本: ViewBag.CustomRouteParameter