上一页 1 2 3 4 5 6 7 8 ··· 20 下一页
摘要: export function rollTable() { const dom = document.querySelector('.app-main') const table = document.querySelector('.el-table') const maxAsyncHeight = 阅读全文
posted @ 2023-06-27 17:53 国服第一李师师 阅读(53) 评论(0) 推荐(0)
摘要: vi ~/.gitconfig [alias] st = status ci = commit ci-a = commit -a pr = pull --rebase co = checkout br = branch ll = log --pretty=format:"%C(yellow)%h%C 阅读全文
posted @ 2023-03-23 10:53 国服第一李师师 阅读(67) 评论(0) 推荐(0)
摘要: linear-gradient(270deg, rgba(255, 76, 77, 0.35) 0%, rgba(255, 153, 51, 0.35) 12.5%, rgba(255, 191, 0, 0.35) 25%, rgba(38, 217, 127, 0.35) 37.5%, rgba( 阅读全文
posted @ 2023-03-22 21:25 国服第一李师师 阅读(73) 评论(0) 推荐(0)
摘要: 思路:将dist包 打包成一个镜像(要不打出的镜像特别大) Dockerfile:如下 FROM nginx:latest COPY dist /auth-center WORKDIR auth-center COPY nginx.conf /etc/nginx/conf.d/default.con 阅读全文
posted @ 2023-02-10 15:42 国服第一李师师 阅读(268) 评论(0) 推荐(0)
摘要: 首先在settings里面设置 jenkins-token 记得设置勾选 至此github设置完成 jenkins credentials:选择私钥复制进去,github上放置公钥 将之前的github上面的jenkins-token复制进来 将服务器上面的ssh配置免密登录,然后把打包的文件放在n 阅读全文
posted @ 2023-02-01 20:15 国服第一李师师 阅读(207) 评论(0) 推荐(0)
摘要: 在 18 之前,只有在react事件处理函数中,才会自动执行批处理,其它情况会多次更新 在 18,任何情况都会自动执行批处理,多次更新始终合并为一次hydrate 变为hydrateRoot render改为createRoot().render()flushSync 退出批量更新,但是内部仍然是批 阅读全文
posted @ 2023-01-13 16:48 国服第一李师师 阅读(168) 评论(0) 推荐(0)
摘要: 基于8.0.3husky 17.4.1@commitlint/cli npm install --save-dev husky @commitlint/cli npx husky install npx husky add .husky/pre-commit 'yarn lint-staged' 校 阅读全文
posted @ 2023-01-12 15:29 国服第一李师师 阅读(137) 评论(0) 推荐(0)
摘要: 1 eth = 1百亿亿 wei 1 后面18个0 阅读全文
posted @ 2022-10-24 16:23 国服第一李师师 阅读(24) 评论(0) 推荐(0)
摘要: 有关forwardRef 转发ref搭配useImperativeHandle 使父组件可以使用子组件的ref 当然当forwardRef单独转发ref时,就是子组建也配置一个ref = {ref} 使父组件可以使用子组建的ref 个人理解forwardRef单独转发时,不用useImperativ 阅读全文
posted @ 2022-10-07 16:41 国服第一李师师 阅读(49) 评论(0) 推荐(0)
摘要: 1.类型别名可以用于其它类型 (联合类型、元组类型、基本类型(原始值)),interface不支持 type可以声明任何类型,interface不可以只能声明对象 2.interface 可以多次定义 并被视为合并所有声明成员 type 不支持 3.type 能使用 in 关键字生成映射类型,但 i 阅读全文
posted @ 2022-09-23 11:43 国服第一李师师 阅读(50) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 20 下一页