mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-11-20 02:18:20 +01:00
fix
This commit is contained in:
parent
4c01277848
commit
3d2e1299b1
@ -32,9 +32,9 @@ function Router:infer(url)
|
|||||||
args = {}
|
args = {}
|
||||||
}
|
}
|
||||||
if args and #args > 0 and args[1] ~= "" then
|
if args and #args > 0 and args[1] ~= "" then
|
||||||
data.name = args[1]
|
data.name = args[1]:gsub("%.", "")
|
||||||
if args[2] then
|
if args[2] then
|
||||||
data.action = args[2]
|
data.action = args[2]:gsub("%.", "")
|
||||||
end
|
end
|
||||||
for i = 3, #args do
|
for i = 3, #args do
|
||||||
table.insert(data.args, args[i])
|
table.insert(data.args, args[i])
|
||||||
|
Loading…
Reference in New Issue
Block a user