fix: 🐛 适配文件上传接口调整
This commit is contained in:
1 parent
3b7c026716
commit
4b3f2fb51a
4 files changed
+19
-3
No files matched your search
@@ -68,7 +68,7 @@ const handleToFile = async () => {
|
||||
const file = dataURLtoFile(canvas.value.toDataURL(), "签名.png");
|
||||
|
||||
if (!file) return;
|
||||
const data = await FileAPI.upload(file);
|
||||
const data = await FileAPI.uploadFile(file);
|
||||
handleClearSign();
|
||||
imgUrl.value = data.url;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user