文档中心 cloud2 开发 接口

打开文件选择窗口

接口发布于 2018-07-03更新于 2026-07-01 14:08

方法名称:open_files

 

示例代码(JavaScript)

    , openFiles: function ()

    {

        var param = { name: "open_files" };

        this.postMessage(param);

    }

 

示例代码(C#)

static void up6_test()

{

    HttpUploaderAppLib.HttpPartitionClass part = new HttpUploaderAppLib.HttpPartitionClass();

    JObject o = new JObject();

    o["name"] = "open_files";

 

    part.postMessage(o.ToString());

}

 

此方法会触发事件open_files