会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
WinChance
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
下一页
2020年9月16日
Java8 四大核心函数式接口Function、Consumer、Supplier、Predicate
摘要: 1、Function<T, R> T:入参类型,R:出参类型 调用方法:R apply(T t); 定义函数示例:Function<Integer, Integer> func = p -> p * 10; // 输出入参的10倍 调用函数示例:func.apply(10); // 结果100 /*
阅读全文
posted @ 2020-09-16 14:39 WinChance
阅读(367)
评论(0)
推荐(0)
2020年8月4日
uCharts混合图,区域图不显示折线
摘要: 原来不能理所当然,认为单个area与mix里的area用法一样!!可能作者实现还有问题,导致单个area的顶部折线是用extra配置的,而mix图里,顶部折线是用相同数据源的line直接绘制出来的。我晕,搞了我1天,一直以为配置有问题,原来是uCharts的实现不够优雅!! 单个,只需配置 addL
阅读全文
posted @ 2020-08-04 17:05 WinChance
阅读(2338)
评论(2)
推荐(0)
小程序canvas组件层级过高问题的解决方法
摘要: HTML: <canvas canvas-id="canvasLine" v-show="!charImg" id="canvasLine" class="charts" disable-scroll="true" @touchstart="touchLine" @touchmove="moveLi
阅读全文
posted @ 2020-08-04 11:34 WinChance
阅读(8345)
评论(0)
推荐(0)
2020年8月3日
使用async/await封装uni-app请求
摘要: 直接上代码: // async版get请求 async function getAsync(url, data) { uni.showLoading({ title: '数据加载中...', mask: true }); let [err, res] = await uni.request({ ur
阅读全文
posted @ 2020-08-03 11:14 WinChance
阅读(4705)
评论(0)
推荐(0)
2020年7月3日
小程序集成Mock.js快速入门
摘要: 一、简单使用: 1、直接拷贝better-mock.js文件到工程: 2、然后就OK了,能在uni-app Vue页面中直接调用。 二、工程化: import mockA from './mock-abc/mock-a.js' import mockB from './mock-abc/mock-b
阅读全文
posted @ 2020-07-03 13:59 WinChance
阅读(1341)
评论(0)
推荐(0)
2020年7月2日
如何在vue.js渲染完界面之后再调用函数
摘要: https://blog.csdn.net/qappleh/article/details/88708341?utm_medium=distribute.pc_relevant.none-task-blog-baidujs-5 1 watch:{ 2 detailsList:function(){
阅读全文
posted @ 2020-07-02 11:47 WinChance
阅读(1942)
评论(0)
推荐(0)
2020年6月17日
Flex布局备忘
摘要: 1、入门: 1.1 语法:http://www.ruanyifeng.com/blog/2015/07/flex-grammar.html 1.2 实例:http://www.ruanyifeng.com/blog/2015/07/flex-examples.html 2、复习: 2.1:https
阅读全文
posted @ 2020-06-17 19:52 WinChance
阅读(140)
评论(0)
推荐(0)
2020年6月4日
IDEA基本配置
摘要: 1、配置Maven:右上角“小扳手” 2、安装JRebel,并绿色; 3、Run的配置,当java类或者前端文件变化时,会重新自动编译&部署:
阅读全文
posted @ 2020-06-04 11:45 WinChance
阅读(159)
评论(0)
推荐(0)
2020年3月25日
Flutter环境搭建踩坑-Android sdkmanager tool not found
摘要: 1、安装中文官网安装Flutter,然后一直卡在pub upgrade,后来配置了URL: 2、但执行flutter doctor还是报错:[!] Android toolchain - develop for Android devices 3、然后配置AS的环境变量,仍然报错;而且发觉SDK目录
阅读全文
posted @ 2020-03-25 10:40 WinChance
阅读(1145)
评论(0)
推荐(0)
2020年3月6日
Git操作-DevOps
摘要: // 初始化仓库git init // 拷贝源码文件到当前的“空目录”,将当前目录添加到仓库 git add . // 然后提交变更 git commit -m '初始化仓库' // 与远端仓库建立连接 git remote add origin https://esquel.visualstudi
阅读全文
posted @ 2020-03-06 14:01 WinChance
阅读(205)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
下一页
公告