修复 R7E 真机反馈回流与移动入口 WF8-11A R7E-16A R7E-16B BIZ8-12A
这个提交包含在:
@@ -1,5 +1,6 @@
|
||||
import type { FetchMyDelegationsResponse } from "../../api/delegations";
|
||||
import { Button } from "../../components/ui/button";
|
||||
import { PDF_FILE_ACCEPT, splitPdfFiles } from "../../lib/pdfFiles";
|
||||
|
||||
export type InvoiceUploadCardProps = {
|
||||
selectedFiles: File[];
|
||||
@@ -62,10 +63,13 @@ export function InvoiceUploadCard({
|
||||
<input
|
||||
id="file-upload"
|
||||
className="hidden"
|
||||
accept="application/pdf"
|
||||
accept={PDF_FILE_ACCEPT}
|
||||
data-testid="invoice-upload-file"
|
||||
multiple
|
||||
onChange={(event) => setSelectedFiles(Array.from(event.target.files ?? []))}
|
||||
onChange={(event) => {
|
||||
setSelectedFiles(splitPdfFiles(event.target.files).accepted);
|
||||
event.target.value = "";
|
||||
}}
|
||||
type="file"
|
||||
/>
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户