xusen

Results 39 comments of xusen

@ipcjs 你好,感谢您提的pr。因为该项目烂尾了,目前我也需要这个功能,不知道您是否有意向发布到pub.dev呢?

response中内容比较大的情况下,我这里大于30k就不行了。

目前来说,isomorphic-fetch 作者已经升级到 3.0.0 。可以尝试 fork umi-request,修改 isomorphic-fetch 版本测试。 但我们找到了另外一个解决办法:node 版本使用 [FROM node:14.16.1-stretch-slim](https://registry.hub.docker.com/layers/node/library/node/14.16.1-stretch-slim/images/sha256-d31fad3fafb3fa53e99b6425638949a24e8ec9699b4f236232c259bc8fd35e52?context=explore) 就可以了。以前我们用的 16.x 版本

没问题的! responseInterceptors: [async (response, options) => { return response.clone().json().then(res => { return res?.data || {} }) }]

+1, currently still exists. fatal - TypeError: Cannot read properties of undefined (reading 'directory') at Hook.fn (/ui-pro/node_modules/.pnpm/@[email protected][email protected]_@[email protected]_@[email protected]_@[email protected]__s4uoca4yeixx4ez3l74iass7zu/node_modules/@dumijs/preset-vue/dist/common.js:42:91) at /ui-pro/node_modules/.pnpm/@[email protected]/node_modules/@umijs/core/dist/service/service.js:136:38 at _next10 (eval at create (/ui-pro/node_modules/.pnpm/@[email protected]/node_modules/@umijs/bundler-utils/compiled/tapable/index.js:1:8410), :85:18) at eval (eval at...