【问题标题】:How to upload image in N2O erlang如何在 N2O erlang 中上传图片
【发布时间】:2019-06-21 22:09:24
【问题描述】:

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

【问题讨论】:

    标签: erlang image-uploading nitrogen n2o


    【解决方案1】:

    [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);
    };

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-06-23
      • 2017-09-16
      • 2018-05-18
      • 2021-07-02
      • 2012-08-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多