如何使用N2O erlang上传图像

问题描述 投票:0回答:1

我正在erlang n2o Web框架中设置新服务器,并希望使用#upload上传图像。如何使用上传事件。

erlang image-uploading nitrogen n2o
1个回答
0
投票

[1]。https://github.com/synrc/sample/blob/master/src/index.erl#L14[2]。 https://github.com/synrc/sample/blob/master/priv/static/index.htm#L7

$file.progress = function onprogress(offset,total,guid,name) {
    console.log(name);
};
© www.soinside.com 2019 - 2024. All rights reserved.