drizzlesconsin

Results 41 comments of drizzlesconsin

[repo umirc.ts](https://github.com/drizzlesconsin/umi4-issue-mini-example/blob/main/.umirc.ts#L37) [repo access.ts](https://github.com/drizzlesconsin/umi4-issue-mini-example/blob/main/src/access.ts#L9) 没回应,不知道是不是没复现。 终于找到 **100%** 必现步骤: **访问根路由 [browser history] `http://localhost:port/`**

可以先这样处理 https://github.com/ant-design/ant-design-pro/pull/10205/commits/82ab17668b7a2d15ec43b512580affe4c0f4a1b7

把 `siderWidth: 208,` 写在 `defaultSettings.ts` 就行了,去掉 `config/config.ts` 里的 `siderWidth`. 不然就写在 app.tsx -> layout 的 `menu` props > Umi4 在 config.ts layout 支持的属性不多

楼上的这个问题 https://github.com/NervJS/taro-ui/issues/1424#issuecomment-1057960026 可以参考 https://github.com/NervJS/taro-ui/issues/1462 解决。 具体就是: ```bash # 1 yarn add patch-package postinstall-postinstall sass-migrator -D # 2 https://github.com/NervJS/taro-ui/blob/d005a01ec22ad4bd01959c27774f11c1d7c71329/packages/taro-ui-demo-rn/src/app.scss#L1-L3 ./node_modules/.bin/sass-migrator division ./node_modules/taro-ui/rn/style/components/*.scss # 3 ./node_modules/.bin/patch-package taro-ui ``` > 第二步用的是 `rn/style` https://github.com/NervJS/taro-ui/blob/d005a01ec22ad4bd01959c27774f11c1d7c71329/packages/taro-ui-demo-rn/src/app.scss#L1-L3...

https://github.com/ant-design/ant-design/issues/36780 https://github.com/ant-design/ant-design/pull/36575#issuecomment-1199017020=

可以看这个例子:https://procomponents.ant.design/en-US/components/layout#customized-collapsed

transform **提交时转化** transform **发生在提交的时候**,一般来说都是吐给后端的存在数据库里的数据。 [doc](https://procomponents.ant.design/en-US/components/form#transform-transform-when-submitting)

像你这种情况,通常都会基于 proTable... proForm... 并结合项目的需求再抽象封装一层。

控制台应该有报错,猜测是 value (key)重复导致的

检查返回的数据,会不会跟 useCache 有关