V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
wen20
V2EX  ›  程序员

wails 开发用 AI 也没能解决, input type=file 是英文,在浏览器中是中文。

  •  
  •   wen20 · 15 小时 31 分钟前 · 300 次点击

    wails 开发,文件上传功能。

    wails 打开 文件选择窗口 是英文窗口。 在浏览器中正常,是中文窗口。

    有没有哪位 wails 开发大神解决了这个问题。

    另外新创建了一个 wails 开发交流群,群码失效加微信:youwen21, 备注 wails 开发交流群。

    问题复现

    <!DOCTYPE html>
    <html lang="zh-CN">
      <head>
        <meta charset="UTF-8">
        <link rel="icon" href="/favicon.ico">
        <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0,user-scalable=no, viewport-fit=cover">
        <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover"> -->
        <title>咖万会员管理系统</title>
        <meta property="og:locale" content="zh_CN" />
      </head>
      <body>
        <div id="app"></div>
        <script type="module" src="/src/main.ts"></script>
      </body>
    </html>
    
    在页面使用文件上传功能
    
    <input
        type="file"
        accept="image/*"
        multiple
        class="file-input"
        />
    
    

    也可以下载软件复现(不用激活可直接使用复现)

    https://www.ka10000.com/download

    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   917 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 19:55 · PVG 03:55 · LAX 12:55 · JFK 15:55
    ♥ Do have faith in what you're doing.