摘要: 背景 项目用的 webpack4 打包的,因为趋于稳定所以没有更新基础依赖,但是最近 build 镜像时发现错误 npm ERR! notarget No matching version found for @webassemblyjs/helper-numbers@1.11.3. npm ERR 阅读全文
posted @ 2022-07-27 11:44 smallteeth 阅读(1130) 评论(0) 推荐(0) 编辑
摘要: nodes: - address: 172.30.10.167 user: ubuntu role: - controlplane - etcd - address: 172.30.10.236 user: ubuntu role: - worker ignore_docker_version: t 阅读全文
posted @ 2020-06-18 10:42 smallteeth 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 原来的项目用的roadhog,但是作者的重心转移到了umi导致一些依赖包迟迟不会更新.所以提出了移除roadhog的需求用webpack4代替.下面是详细的配置项 dev production babelrc 这些是基础的配置 详细的可以看这两个pr https://github.com/longh 阅读全文
posted @ 2019-06-20 10:45 smallteeth 阅读(1872) 评论(0) 推荐(0) 编辑
摘要: 最傻最单纯的 pull request 详解 单位维护的开源项目 git 提交必须谨慎 必须要提交pull request 1. fork 别人的项目到自己的git hub 是fork哦 2. 本地git clone 自己的项目地址 3. 关联远程别人的git hub地址 git remote ad 阅读全文
posted @ 2019-03-20 18:05 smallteeth 阅读(863) 评论(0) 推荐(0) 编辑
摘要: java实现归并排序法 快速排序 三路排序 阅读全文
posted @ 2018-11-19 17:05 smallteeth 阅读(412) 评论(0) 推荐(0) 编辑
摘要: 对于js 异步的执行 es7提出了 更简洁的promise 语法写法 async 标注的函数 内部可以用关键字 await 来等待一个promise的返回 再去执行 简洁易懂 阅读全文
posted @ 2018-11-09 17:56 smallteeth 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 对于不需要传统tab切换的app项目 实现简单登录 跳转 效果图如下 在登录的时候 应用的是 createSwitchNavigator 这个api可以屏蔽调android 的返回键 这里我提取出了一个路由文件, createStackNavigator 是传统的路由文件配置 headerMode 阅读全文
posted @ 2018-11-09 17:34 smallteeth 阅读(2742) 评论(0) 推荐(0) 编辑
摘要: d3 比例尺 阅读全文
posted @ 2018-10-30 16:00 smallteeth 阅读(453) 评论(0) 推荐(1) 编辑
摘要: 有一些一起逻辑 但是甘特图实现了 阅读全文
posted @ 2018-09-30 11:08 smallteeth 阅读(8084) 评论(0) 推荐(0) 编辑
摘要: 父组件 子组件table 子组件中的右键菜单组件 阅读全文
posted @ 2018-07-28 16:49 smallteeth 阅读(4901) 评论(1) 推荐(0) 编辑