首页
  • 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(小程序)
闲蝉科技

其他推荐

解决网页移动端input 输入框 ios 键盘弹窗问题
node-sass 安装失败 填坑
nginx 常规命令操作
centos 安装 docker
golang 语言 windows下编译linux下运行文件 go build
leetCode 取中位数
Centos 安装 vsftpd 配置和命令
centos 安装 node
flutter 开发 设置国内代理
开发者:Taoqun

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

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