首页
  • pm2 常用命令

    pm2 常用命令

    // 启动 npm
    pm2 start --name testName npm -- run start
    // 启动 yarn
    pm2 start --name testName yarn -- start
    
    // 查看任务
    pm2 ls
    
    // 查看log日志
    pm2 log 1
    
    pm2 save --- 保存列表
    阅读全文
  • flutter 插件

    • octo_image
    • flutter_launcher_icons
    • animated_text_kit

    octo_image 图片加载

    文档:https://pub.flutter-io.cn/packages/octo_image

    OctoImage(
      image: CachedNetworkImageProvider(
    阅读全文
  • electron 读取剪贴板文件

    // 从资源管理器中复制文件到剪贴板

    let filePath;
    if (remote.process.platform == 'win32') { // windows
      // 只读取一个文件路径
      const rawFilePath = clipboard.readBuffer('FileNameW').toString('ucs2');
    阅读全文
  • taro 的坑

    bug: 页面渲染出来了false字符串

    原因:Taro 版本过低 公司的老项目使用的 taro 1.2.xx

    var show = false
    { show && <Component /> }

    解决

    
    1. 三元判断 
    2. 升级Taro版本到 1.3.0+
    阅读全文
  • 1
Taoqun
陶群
1994-09-07
taoquns@foxmail.com
前端开发
南京

文章分类

Mac
算法
前端
python
golang
mysql
node
linux
随笔
生活
游记

我的作品

记录体重Pro(小程序)
闲蝉科技

其他推荐

npm 的一些包
python 学习 抓取 中国福利彩票网站的信息
SSH 免密登陆配置
go-gin框架基本接口
记一次git修改仓库报错
taro 小程序 css 多行隐藏
centos 常用命令
ios时间格式化 js iphone
leetCode 两数相加
flutter 插件
开发者:Taoqun

备案/许可证编号为:皖ICP备17027395号

闲蝉科技
Ron · 一个无人问津的小站
小印章