Commit 0c7e754b authored by 叶凯's avatar 叶凯

add

parent 7351c7b8
......@@ -22,14 +22,6 @@ namespace AppBox
////////////////////////////////////////////////////////////////
string themeStr = Request.QueryString["theme"];
string menuStr = Request.QueryString["menu"];
if (!string.IsNullOrWhiteSpace(Request.QueryString["redirurl"]))
{
var nvc = HttpUtility.ParseQueryString(Request.Url.Query);
var _url = nvc.Get("redirurl");
var _url2 = HttpUtility.UrlDecode(_url);
Response.Redirect(_url2);
}
if (!String.IsNullOrEmpty(themeStr) || !String.IsNullOrEmpty(menuStr))
{
if (!String.IsNullOrEmpty(themeStr))
......@@ -101,6 +93,13 @@ namespace AppBox
Tree treeMenu = InitTreeMenu(menus);
}
if (!string.IsNullOrWhiteSpace(Request.QueryString["redirurl"]))
{
var nvc = HttpUtility.ParseQueryString(Request.Url.Query);
var _url = nvc.Get("redirurl");
var _url2 = HttpUtility.UrlDecode(_url);
Response.Redirect(_url2);
}
}
#region InitAccordionMenu
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment