上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 43 下一页
摘要: const BYTE = 1024, ACCEPT = { image: 'image/jpeg,image/bmp,image/png,image/gif', }, getAccepts = accept => (Array.isArray(accept) ? accept : [accept]) 阅读全文
posted @ 2021-03-17 14:39 又回到了起点 阅读(96) 评论(0) 推荐(0) 编辑
摘要: Math.ceil():表示向上取整;Math.ceil(11.3)=12;Math.ceil(-11.3)=-12。 Math.floor():表示向下取整;Math.floor(11.6)=11;Math.floor(-11.6)=-12。 Math.round():表示四舍五入;Math.ro 阅读全文
posted @ 2021-03-09 13:59 又回到了起点 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Java.io 包几乎包含了所有操作输入、输出需要的类。所有这些流类代表了输入源和输出目标。 Java.io 包中的流支持很多种格式,比如:基本类型、对象、本地化字符集等等。 一个流可以理解为一个数据的序列。输入流表示从一个源读取数据,输出流表示向一个目标写数据。 Java 为 I/O 提供了强大的 阅读全文
posted @ 2021-01-20 13:51 又回到了起点 阅读(71) 评论(0) 推荐(0) 编辑
摘要: public class MammalInt implements Animal{ public void eat(){ System.out.println("Mammal eats"); } public void travel(){ System.out.println("Mammal tra 阅读全文
posted @ 2021-01-19 17:54 又回到了起点 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 多态是同一个行为具有多个不同表现形式或形态的能力 多态就是同一个接口,使用不同的实例而执行不同操作 1. 消除类型之间的耦合关系 2. 可替换性 3. 可扩充性 4. 接口性 5. 灵活性 6. 简化性 多态存在的三个必要条件 继承 重写 父类引用指向子类对象:Parent p = new Chil 阅读全文
posted @ 2021-01-13 18:53 又回到了起点 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 1.导出表结构和数据 方式1.tools->export user objects是导出表结构 tools ->export user object 选择选项,导出.sql文件 说明:导出的是建表语句(包括存储结构) 方式2.tools->export tables 是导出表结构还有数据 用pl/s 阅读全文
posted @ 2021-01-11 15:27 又回到了起点 阅读(2321) 评论(0) 推荐(0) 编辑
摘要: Java 中的“流”是一种抽象的概念,也是一种比喻,就好比水流一样,水流是从一端流向另一端的,而在 Java 中的“水流”就是数据,数据会从一端“流向”另一端。 根据流的方向性,我们可以将流分为输入流和输出流,当程序需要从数据源中读入数据的时候就会开启一个输入流,相反,写出数据到某个数据源目的地的时 阅读全文
posted @ 2021-01-04 15:06 又回到了起点 阅读(1441) 评论(0) 推荐(0) 编辑
摘要: source /etc/profile sudo su npm install --unsafe-perm pm2 start npm --name xxxx -- run xxxx pm2 restart xxx pm2 delete xxx 使用pm2 start (启动服务)执行pm2 sav 阅读全文
posted @ 2020-10-30 15:07 又回到了起点 阅读(99) 评论(0) 推荐(0) 编辑
摘要: /** * axios封装 * 请求拦截、响应拦截、错误统一处理 */import axios from 'axios';import router from '../router';import store from '../store/index';import { Toast } from ' 阅读全文
posted @ 2020-10-22 19:29 又回到了起点 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 3.2 PerformPromiseThenImpl transitioning macro PerformPromiseThenImpl(implicit context: Context)( promise: JSPromise, onFulfilled: Callable|Undefined, 阅读全文
posted @ 2020-10-16 12:34 又回到了起点 阅读(168) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 43 下一页