解决方案存档

  • 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

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值