doctype html html(lang='zh') head meta(charset='UTF-8') meta(http-equiv='X-UA-Compatible' content='IE=edge') meta(name='viewport' content='width=device-width, initial-scale=1.0') link(rel='icon' href='/favicon.ico' type='image/x-icon') link(rel='stylesheet' href='/style.css') title 文件上传 body h1 文件上传 p a(href='/') 返回首页 if file section p | 文件   var #{file.filename}   | 分享成功! p 链接   - const url = '/file/' + file.id a(href=url)= url form(method='POST' action='/upload' enctype='multipart/form-data') label(for='file_input') 文件 input(id='file_input' name='file' type='file' required) label(for='password_input') 密码 input(id='password_input' name='password' type='password' autocomplete='off') button(id='share_button' type='submit') 分享