摘要:flutter 返回不刷新问题,因为需求必须要返回刷新下页面 所以想个办法进行返回刷新,想了个办法 只能使用eventBus 去主动激活上个页面的某个方法进行刷新 这种情况下会报一个错: Flutter setState() or markNeedsBuild() called when widge
阅读全文
12 2019 档案
摘要:pm2常用命令记录 $ pm2 start app.js # 启动app.js应用程序 $ pm2 start app.js -i 4 # cluster mode 模式启动4个app.js的应用实例 # 4个应用程序会自动进行负载均衡 $ pm2 start app.js --name="api"
阅读全文
摘要:查看路径whereis redis 1.修改配置文件 vim /etc/redis.conf 这三个配置是必须的 requirepass 123456 // 这个用来修改密码 bind 0.0.0.0 // 这个用来绑定ip 原来是127.0.0.1 1.这是因为配置文件中,以守护进程方式启动,默认
阅读全文
摘要:Mac sequel Pro链接时报错Can’t connect to MySQL server on ‘xx.xx.xx.xx’ (61)。 PS. win版Navicat 报错Can’t connect to MySQL server on ‘xx.xx.xx.xx’ (10038) 其中xx.
阅读全文