Skip to content
This repository was archived by the owner on Nov 25, 2024. It is now read-only.

feat: replace request api #23

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cptbtptpbcptdtptp
Copy link
Contributor

link: #22

@cptbtptpbcptdtptp
Copy link
Contributor Author

注意:先不要合并,有两个地方需要小程序侧支持

  • 加载远端资源的时候,downloadFile应该会更慢一点,request只有一次jsapi调用,download+readFile会有两次
  • downloadFile 相比 request 不能规避 OOM 风险,需要小程序侧支持 arraybuffer 传输二进制文件

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant