0

TypeError:_reactNativeFetchBlob2.default.writeFile 不是函数

import RNFetchBlob from 'react-native-fetch-blob';


RNFetchBlob.writeFile(path, data, 'utf8')
                .then((success) => {
                    console.log(success);
                })
                .catch((err) => {
                    console.log(err);
                });
4

1 回答 1

1

我认为你失踪了fs......RNFetchBlob.fs.writeFile

于 2017-05-18T00:57:04.457 回答