Lambda 大年初二,大门不出二门不迈。继续学习! 函数式接口 Lambda表达式其实就是实现SAM接口的语法糖,所谓SAM接口就是Single Abstract Method,即该接口中只有一个抽象方法需要实现,当然该接口可以包含其他非抽象方法。 它关注方法具备什么样的功能,强调做什么,而不是以 ...
分类:
编程语言 时间:
2020-01-26 14:33:02
阅读次数:
66
添加Mock数据 前面我们使用elementUI实现了登录页面和简单的校验,现在使用接口的方式来实现登录的逻辑 使用EasyMock添加两个接口 因为要访问EasyMock 模拟接口, 所以要把 接口地址改一下,在 .env.development 文件中修改如下: 注意:改成你自已的EasyMoc ...
分类:
其他好文 时间:
2020-01-26 13:09:55
阅读次数:
128
1032 Sharing (25分) To store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may let the wor ...
分类:
其他好文 时间:
2020-01-26 11:51:03
阅读次数:
60
这里面包括做一切选择框的属性。 表单标签: <form action="表单信息提交的地址” method="提交方式"> 表单元素: <input type="元素类型" name="自定义"> 元素类型: 文本框:text 密码框:password 按钮: 1.提交按钮:submit 2.普通按 ...
分类:
其他好文 时间:
2020-01-25 22:05:45
阅读次数:
97
LIME: Low light Image Enhancement via Illumination Map Estimation [toc] 1. approach Retinex theory In this paper, A method enhancing low light image i ...
分类:
其他好文 时间:
2020-01-25 20:47:44
阅读次数:
157
# 1. get_data.py from tools import project_path import pandas as pd class GetData: Cookie = None AddTel = pd.read_excel(project_path.test_case_path, s ...
分类:
其他好文 时间:
2020-01-24 14:39:18
阅读次数:
81
When you want to make some delay in running code you can use Task.Delay(TimeSpan interval) method . This method is similar to Thread.Sleep, but it is ...
分类:
其他好文 时间:
2020-01-24 09:29:21
阅读次数:
108
在get_data中定义取全部用例和取部分用例两种模式 # 1. http_request.py import requests class HttpRequest: def http_request(self, url, method, data=None, cookie=None): try: ...
分类:
其他好文 时间:
2020-01-24 00:29:54
阅读次数:
129
第一种方法: 终端输入如下命令: sudo modprobe -r psmouse 如果打开触摸板就是:sudo modprobe psmouse 第二种方法: 如果不行,本机上第二种方法好用Method 2: 第一步:打开终端,执行 synclient touchpadoff=1 指令。 Done ...
分类:
系统相关 时间:
2020-01-23 22:52:42
阅读次数:
151
1、php如何获取复选框checkbox的值 首先我们来创建一个表单: 1 <form action ="HandleFormCheckBox.php" method="post"> 2 3 <ul> 4 5 <li><input type ="checkbox" name ="category[] ...
分类:
Web程序 时间:
2020-01-23 19:58:08
阅读次数:
145