mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-26 10:39:46 +02:00
refactory code
This commit is contained in:
@ -152,7 +152,6 @@ vfs.upload = function(path)
|
|||||||
local file = m.."/"..REQUEST["upload-"..index..".file"]
|
local file = m.."/"..REQUEST["upload-"..index..".file"]
|
||||||
local ret = ulib.move(REQUEST["upload-"..index..".tmp"], file)
|
local ret = ulib.move(REQUEST["upload-"..index..".tmp"], file)
|
||||||
if not ret then
|
if not ret then
|
||||||
print("USEEEEEEEEEEE SENDDDDDDDDDDDDDDDDDFILE")
|
|
||||||
local ret = ulib.send_file(REQUEST["upload-"..index..".tmp"], file)
|
local ret = ulib.send_file(REQUEST["upload-"..index..".tmp"], file)
|
||||||
end
|
end
|
||||||
if not ret then
|
if not ret then
|
||||||
|
Reference in New Issue
Block a user