【发布时间】:2019-06-21 22:09:24
【问题描述】:
我正在 erlang n2o web 框架中设置一个新服务器,并想使用 #upload 上传图像。如何使用上传事件。
【问题讨论】:
标签: erlang image-uploading nitrogen n2o
我正在 erlang n2o web 框架中设置一个新服务器,并想使用 #upload 上传图像。如何使用上传事件。
【问题讨论】:
标签: erlang image-uploading nitrogen n2o
[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);
};
【讨论】: