Skip to content
New issue

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

将 mock 数据托管到本地,建立主备数据请求方案 #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

将 mock 数据托管到本地,建立主备数据请求方案 #9

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented May 23, 2020

具体请参照 #8

修改内容:

  1. 将 mock 数据放到本地 mock 文件夹
  2. 修改 app.js 文件,开发 mock 数据请求接口
  3. 调整请求方式,优先请求远程资源,当远程资源请求失败后,请求本地 mock 资源

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

Successfully merging this pull request may close these issues.

0 participants