We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled promise rejection TypeError: Cannot read property 'request' of undefined
get(action, data, config) { return this.request('GET', action, data, config); }
The text was updated successfully, but these errors were encountered:
不能复现,是怎么调用的?
Sorry, something went wrong.
那cacheRequest应该怎么调用呢
一般就和request一样调用
import { cacheRequest } from "miniprogram-network"; cacheRequest({ url: API, params: { id }, });
如果只想使用cache不使用其它库可以https://github.com/NewFuture/miniprogram-network/tree/master/cache
No branches or pull requests
Unhandled promise rejection TypeError: Cannot read property 'request' of undefined
The text was updated successfully, but these errors were encountered: