fail:not supported
const fs = wx.getFileSystemManager()
fs.open({
filePath: `${wx.env.USER_DATA_PATH}/hello.txt`,
flag: ‘a+’,
success(res) {
console.log(res.fd)
}
})
const fs = wx.getFileSystemManager()
fs.open({
filePath: `${wx.env.USER_DATA_PATH}/hello.txt`,
flag: ‘a+’,
success(res) {
console.log(res.fd)
}
})