-
element el-form动态表单项校验
elementUI动态嵌套el-form表单校验举例详解_vue.js_脚本之家
el-button点击按钮后变成灰色,没有恢复成原有颜色
.el-button.is-link:not(.is-disabled):focus, .el-button.is-link:not(.is-disabled):hover {
color: var(--el-button-text-color);
}
-
找不到模块“react/jsx-runtime”或其相应的类型声明
在types文件夹里添加jsx-runtime.d.ts
,内容为
declare global {
namespace JSX {
// @ts-ignore
type Element = any;
}
}
export {};
然后在tsconfig.json中增加以下即可
"compilerOptions": {
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"react/jsx-runtime": ["./types/jsx-runtime.d.ts"]
}
},
-
git 目标仓库太大clone 失败
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 5492 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
加大git操作时的缓冲区大小
git config --global http.postBuffer 2M