文件
Optional
type: 类型
readFileContent('test.txt', 'text').then(res => console.log(res)); /// 读取文件内容
readFileContent('test.txt').then(res => console.log(res)); /// 读取文件内容
readFileContent('test.csv').then(res => console.log(res)); /// 读取文件内容
readFileContent('test.txt', 'base64').then(res => console.log(res)); /// 读取文件内容为 base64
readFileContent('test.txt', 'blob').then(res => console.log(res)); /// 读取文件内容为 blob
readFileContent('test.txt', 'arrayBuffer').then(res => console.log(res)); /// 读取文件内容为 arrayBuffer
解析或者读取文件内容