📅  最后修改于: 2022-03-11 14:57:53.931000             🧑  作者: Mango
try {
Filesystem.writeFile({
path: `test1/${fileTo.name}`,
data: base64String,
directory: FilesystemDirectory.Documents
});
} catch (e) {
console.error("Unable to write file", e);
}