建议你看一下 https://www.npmjs.com/package... 这个包取值很简单: import cookie from 'js-cookie'; let token = cookie.get('key');
阅读量:1
点赞量:1