mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-17 06:09:50 +02:00
adapt to new api mechanism
This commit is contained in:
@ -24,7 +24,7 @@ function Router:infer(url)
|
||||
-- c,d,e is parameters
|
||||
-- if user dont provide the url, try to infer it
|
||||
-- from the REQUEST
|
||||
url = url or REQUEST.query.r or ""
|
||||
url = url or REQUEST.r or ""
|
||||
url = std.trim(url, "/")
|
||||
local args = explode(url, "/")
|
||||
local data = {
|
||||
|
Reference in New Issue
Block a user