只为成功找方法,不为失败找理由。

博客园 首页 新随笔 联系 订阅 管理
上一页 1 2 3 4 5 6 ··· 20 下一页

2020年5月19日 #

摘要: inputFormatters: [ //只允许输入字母数字* WhitelistingTextInputFormatter(RegExp("[a-zA-Z]|[0-9.]")), LengthLimitingTextInputFormatter(10)], 阅读全文
posted @ 2020-05-19 11:22 诗意的活着 阅读(1223) 评论(0) 推荐(0) 编辑

2020年5月15日 #

摘要: 原因1: 没有安装Xcode命令行工具,执行xcode-select --install 原因二: 没有安装fastlane 执行sudo gem install fastlane -NV 或brew cask install fastlane 原因三: ~/.profile, ~/.zshrc , 阅读全文
posted @ 2020-05-15 09:57 诗意的活着 阅读(1845) 评论(0) 推荐(0) 编辑

2020年4月22日 #

摘要: server { listen 80; server_name nginx.test.com; location / { proxy_pass http://localhost:8080; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded 阅读全文
posted @ 2020-04-22 17:29 诗意的活着 阅读(606) 评论(0) 推荐(0) 编辑

摘要: 报错信息 找不到conf 下的nginx.conf nginx: [emerg] open() "/usr/local/nginx/conf/nginx.conf" failed (2: No such file or directory) nginx默认配置 安装时 nginx.conf所在位置为 阅读全文
posted @ 2020-04-22 11:39 诗意的活着 阅读(2932) 评论(0) 推荐(0) 编辑

2020年4月17日 #

摘要: 1.在 pubspec.yaml 中集成 flutter_localizations; dependencies: flutter: sdk: flutter flutter_localizations: sdk: flutter注意这个会和intl冲突 2.在 MaterialApp 中设置本地化 阅读全文
posted @ 2020-04-17 22:02 诗意的活着 阅读(1806) 评论(0) 推荐(0) 编辑

2020年4月16日 #

摘要: 在app.js里添加一下代码 onLaunch: function () { const updateManager = wx.getUpdateManager(); wx.getUpdateManager().onUpdateReady(function () { wx.showModal({ t 阅读全文
posted @ 2020-04-16 11:28 诗意的活着 阅读(443) 评论(0) 推荐(0) 编辑

2020年4月12日 #

摘要: /// 销毁之前的订单,否则无法多次购买 FlutterInappPurchase.instance.clearTransactionIOS(); 阅读全文
posted @ 2020-04-12 18:39 诗意的活着 阅读(1745) 评论(0) 推荐(0) 编辑

2020年4月4日 #

摘要: 今天清明节,看了大部分的网页都变灰了,看了下变灰是怎么处理的,主要是这个css 属性:css置灰 filter: grayscale(100%); -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: g 阅读全文
posted @ 2020-04-04 18:52 诗意的活着 阅读(686) 评论(0) 推荐(0) 编辑

2020年4月1日 #

摘要: 监听到code ==403 使用eventBus 统一触发。 遇到的问题是 Navigator.of(context).pushAndRemoveUntil( new MaterialPageRoute(builder: (context) => new loginPage() ), (route) 阅读全文
posted @ 2020-04-01 11:51 诗意的活着 阅读(4709) 评论(0) 推荐(0) 编辑

2020年3月31日 #

摘要: 1.首先需要安装Java 环境2.brew install elasticsearch3. 开启服务 brew services start elasticsearch4. 访问端口 http://localhost:9200接口返回数据 { "name" : "Hu1Gn2E", "cluster 阅读全文
posted @ 2020-03-31 16:15 诗意的活着 阅读(1261) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 20 下一页