docker build node镜像过程中踩的奇奇怪怪的坑 之前在通过dockerfile 构建 node 镜像时会报错gyp ERROR!can't find python 。http GET https://nodejs.org/download/release/v14.17.4/node-v14.17.4-headers.tar.gz。unable to verify the first certificate。
Antd 中 select 组件宽度太小 前两天写select组件时,发现组件框很小但是传入值后,长度是正常的当我把宽度设置为 100%,结果并没有改变width:'100%'我猜测可能是外层的宽度是自适应的,于是设置了minwidthminwidth:'xxxpx'结果显示正常了,之所以不设置固定宽度,因为是多选的,希望能响应式的改变宽度...
Error loading ASGI app. Could not import module “main“. 当我运行 uvicorn main:app 时报错,原来是 main文件的路径不对。src为上级文件目录