https://stackoverflow.com/questions/44720448/fetch-typeerror-failed-to-execute-fetch-on-window-illegal-invocation

webpack的bug,解决方案

const fetch = unfetch.bind();
const fetch = window.fetch.bind(window);