上一页 1 ··· 97 98 99 100 101 102 103 104 105 ··· 129 下一页
摘要: class Animal { public void move() { System.out.println("动物可以移动"); }} class Dog extends Demo { public void move() { System.out.println("狗可以跑和走"); } pub 阅读全文
posted @ 2018-09-17 17:39 ThisCall 阅读(471) 评论(0) 推荐(0)
摘要: public class Demo { public static void main(String[] args) { // TODO Auto-generated method stub double[] mylist = {1.9, 2.9, 3.4, 3.5};// System.out.p 阅读全文
posted @ 2018-09-17 12:02 ThisCall 阅读(11980) 评论(0) 推荐(0)
摘要: db.collection('todos').doc('todo-identifiant-aleatoire').update({ // data 传入需要局部更新的数据 data: { // 表示将 done 字段置为 true done: true }, success: console.log 阅读全文
posted @ 2018-09-14 16:09 ThisCall 阅读(999) 评论(0) 推荐(0)
摘要: db.collection('cheshi').add({ data: { cheshi:4, } }).then((res) => { console.log(res) }) 阅读全文
posted @ 2018-09-14 16:04 ThisCall 阅读(2492) 评论(0) 推荐(0)
摘要: picArr=['sdfasfasf.jpg','sdafasfdsaf.jpg'] //下载内容 xiazaiTupian: function (picArr,index) { let that=this; index=index||0; console.log(picArr[index]) wx 阅读全文
posted @ 2018-09-13 11:06 ThisCall 阅读(944) 评论(0) 推荐(0)
摘要: 一个变量作为类成员使用的时候,如果没有被初始化,java会为其分配默认值:Boolean falseChar '\u0000'(null)byte (byte)0short (short)0int 0long 0Lfloat 0.0fdouble 0.0d如果在一个方法中定义一个变量,java不会给 阅读全文
posted @ 2018-09-12 22:48 ThisCall 阅读(116) 评论(0) 推荐(0)
摘要: wx.getSystemInfo({ success: function (res) { console.log(res.model) console.log(res.pixelRatio) console.log(res.windowWidth)//可见宽度 console.log(res.win 阅读全文
posted @ 2018-08-23 20:00 ThisCall 阅读(1372) 评论(0) 推荐(0)
摘要: Resources//图片路径汇总 ResourceLoader//确定图片加载完 DataStore//数据缓存器 new ResourceLoader一个类可以用 static create(){ return new ResourceLoader();} ResourceLoader.crea 阅读全文
posted @ 2018-08-22 23:22 ThisCall 阅读(143) 评论(0) 推荐(0)
摘要: live-server的安装与使用 初始化npm:npm init 安装live-server:cnpm install -g live-server 根目录启动live-server:live-server –也可以设置快捷方式以及端口号: 在package.json中找到”script”,写入: 阅读全文
posted @ 2018-08-16 15:34 ThisCall 阅读(943) 评论(0) 推荐(0)
摘要: 1进入到根目录 2安装babel npm install babel-cli --save-dev 3安装其他库 npm install --save-dev babel-preset-env 4创建.babelrc的json文件内容如下 {"presets":["es2015"]} 5测试;号保存 阅读全文
posted @ 2018-08-16 14:27 ThisCall 阅读(164) 评论(0) 推荐(0)
上一页 1 ··· 97 98 99 100 101 102 103 104 105 ··· 129 下一页