🔱: [client] sync upgrade with 2 commits [trident-sync]

chore:
This commit is contained in:
GitHub Actions Bot
2025-01-24 19:24:01 +00:00
parent e70732c9ac
commit fe4367c580
2 changed files with 5 additions and 1 deletions
@@ -277,7 +277,9 @@ function install(app: any, options: any = {}) {
action: "http://www.docmirror.cn:7070/api/upload/form/upload",
name: "file",
withCredentials: false,
uploadRequest: async ({ action, file, onProgress }: any) => {
uploadRequest: async (opts: any) => {
console.log("uploadRequest:", opts);
const { action, file, onProgress } = opts;
// @ts-ignore
const data = new FormData();
data.append("file", file);