zhangzheng0517
V2EX  ›  问与答

electron 对话框想同时可以选择文件和文件夹怎么来做?

  •  
  •   zhangzheng0517 · Jun 10, 2020 · 1838 views
    This topic created in 2358 days ago, the information mentioned may be changed or developed.

    就想百度网盘那样选择文件时候可以同时选择文件和文件夹,怎么来处理?调用 DLL 可以实现吗?

    Supplement 1  ·  Jun 10, 2020
    Windows 端
    4 replies  •  2020-06-29 16:42:13 +08:00
    kuyuzhiqi
    kuyuzhiqi
    Jun 10, 2020
    1
    properties 不是可以设定吗?多看官方文档
    zhangzheng0517
    zhangzheng0517
    OP
    Jun 10, 2020
    2
    @kuyuzhiqi 那个调用系统原生的对话框,只能打开分别选择文件和文件夹的对话框
    ysc3839
    ysc3839
    Jun 11, 2020
    3
    自己读取文件列表实现一个?
    xiaoming1992
    xiaoming1992
    Jun 29, 2020
    4
    我也需要这个功能,怎么搜都搜不到合适的,题主有办法了吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4166 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 05:45 · PVG 13:45 · LAX 21:45 · JFK 00:45
    ♥ Do have faith in what you're doing.