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

求问下fetch.js文件中获取存储token这部分默认没使用吗? #2

Open
ManiuLtd opened this issue Jan 31, 2020 · 1 comment

Comments

@ManiuLtd
Copy link

我在获取和存储token部分使用console.log输出发现并没有执行,求问下默认这部分是没有用到的吗?

@lfb
Copy link
Owner

lfb commented Feb 1, 2020

我在获取和存储token部分使用console.log输出发现并没有执行,求问下默认这部分是没有用到的吗?

你好,的确没用到,这个根据自己想项目实际要求修改啦,我平时有用的,欢迎查看我另外一个项目 https://github.com/LFB/nodejs-koa-blog 的后台管理系统网站部分有用到哦,另外考虑到一般做项目会引入一些库,这时候fetch还可以做一些错误的处理,如还有什么问题请继续留言:)

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

No branches or pull requests

2 participants