自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(33)
  • 收藏
  • 关注

原创 egg-mysql连接不上

at PoolConnection.Connection._handleConnectTimeoutat Object.onceWrapper (events.js:482:28) at Socket.emit (events.js:376:20) at Socket._onTimeout (net.js:483:8) at listOnTimeout (internal/timers.js:555:17) at processTimers (internal/time...

2021-06-01 20:49:58 908

原创 react 刷新

Location.reload(forcedReload) 方法用来刷新当前页面。forcedReload该参数要求为布尔类型,1、当取值为 true时,将强制浏览器从服务器重新获取当前页面资源,而不是从浏览器的缓存中读取,2、当取值为 false 或不传该参数时,浏览器则可能会从缓存中读取当前页面。...

2021-04-02 09:36:50 509

原创 antd table时间格式降序

{ title:'创建时间', dataIndex:'createTime', key: 'createTime', sortDirections: ['ascend','descend'], defaultSortOrder: 'descend', sorter: (a,b)=>{return Date.parse(a.createTime.replace(/-/g, '/')) - Date.parse(b.createTime.replace(/-/g, '/'))},.

2021-04-02 09:32:29 338

原创 es java 默认返回10条数据问题

//构造查询请求对象,构造方法参数为索引名称SearchRequest searchRequest = new SearchRequest("XXXXXXXXXXXXXXXxx");//查询条件构造器SearchSourceBuilder sourceBuilder = new SearchSourceBuilder();//es返回查询条数sourceBuilder.size(5000);...

2021-04-01 18:07:03 2303

原创 Antd table勾选功能

勾选功能实现const [selectedRowKeys, setSelectedRowKeys] = React.useState([])const rowSelection = { selectedRowKeys, onChange: (keys) => { setSelectedRowKeys(keys) },};return ( <div> <Table rowKey='Id' //.

2021-03-23 16:48:42 1230 1

原创 Non HTTP response code: org.apache.http.NoHttpResponseException (the target server failed to respond

https://cwiki.apache.org/confluence/display/jmeter/JMeterSocketClosed

2021-03-23 13:44:51 1110

原创 jmeter prev

https://jmeter.apache.org/api/org/apache/jmeter/samplers/SampleResult.html

2021-03-23 11:03:45 225

原创 llinux 文件传输

llinux 文件传输使用rzyum install lrzsz -y

2021-03-22 18:44:16 49

原创 【Ubuntu】jmeter+Grafana+ InfluxDB

1.下载Influxdbwget https://dl.influxdata.com/influxdb/releases/influxdb_1.2.4_amd64.debsudo dpkg -i influxdb_1.2.4_amd64.deb修改influxdb.conf中的一些配置项# 找到graphite并且修改它的库与端口[[graphite]] enabled...

2020-04-29 16:44:45 225

原创 python manage.py celery worker -l info 常见错误

AttributeError: 'str' object has no attribute 'items'解决方法: redis版本过高,降低redis版本即可pip install redis==2.10.6出现:from kombu.async.timer import Entry, Timer as Schedule, to_timestamp, logger Syn...

2020-04-01 11:20:59 1153

原创 pip install 出现raise ReadTimeoutError(self._pool, None, 'Read timed out.') pip._vendor.urllib3.except

在C:\Users\Administrator目录下新建 :pip文件pip文件下新建pip.ini文件添加内容:[global]index-url = https://pypi.tuna.tsinghua.edu.cn/simple重新pip install 即可...

2020-04-01 09:54:36 200

原创 JMeter源码导入到Intellij IDEA

jmeter 5.0IDEAjmeter源码下载地址:http://jmeter.apache.org/download_jmeter.cgi解压jmeter源码修改目录下俩个文件名,eclipse.classpath和eclipse.projectcmd:ren .\eclipse.classpath .classpathren .\eclipse.project ....

2020-01-13 16:47:34 180

原创 redis.exceptions.ConnectionError: Error 10061 connecting to localhost:6379. 由于目标计算机积极拒绝,无法连接。

解决方法如下:下载并安装Redis-x64-3.2.100.msi,安装地址:https://github.com/MicrosoftArchive/redis/releases

2019-12-16 17:58:39 2213 1

原创 输入框多值联想功能

<!--用例对比--> <!--点击用例对比按钮--> $(function () { $("#usecaseComparison").click(function () { $("#usecaseComparisonModal").modal('show'); ...

2019-12-06 17:31:53 141

原创 spring boot 遇到的坑(三)

报错:log4j:ERROR Could not find value for key log4j.appender.didifile log4j:ERROR Could not instantiate appender named "didifile"# log4j添加下面内容com.didispace下的日志输出log4j.appender.didifile=o...

2019-11-26 15:17:41 171

原创 spring boot 遇到的坑(二)

Field testCaseMapper in com.bg.testplatform.service.impl.TestCaseServiceImpl required a bean of type 'XXXX' that could not be found. The injection point has the following annotations: - @org.spri...

2019-11-25 19:41:31 162

原创 spring boot 遇到的坑(一)

log4j:WARNNoappenderscouldbefoundforlogger(org.springframework.web.context.support.StandardServletEnvironment).log4j:WARNPleaseinitializethelog4jsystemproperly.log4j:WARNSeehttp://lo...

2019-11-25 19:37:09 1739

原创 SpringBoot 自动注入失败:Consider defining a bean of type 'XXXXXX' in your configuration

基础知识正常情况下 Spring 的 @Component、@Service、@Controller、@ Repository 注解的类会被 Spring 自动扫描识别注册到 spring 容器中,并且默认只扫描与启动类在同一个包下以及其子包下的类。解决方案启动类上增加@MapperScan注解指定要扫描的包名...

2019-11-24 15:22:46 3246

原创 adb控制非本机模拟器

服务端:A电脑 客户端:B电脑A电脑安装 bitvisehttps://www.bitvise.com/wug-logontype(开启 SSH 访问)教程:https://www.tielemao.com/1029.html开放端口22B电脑安装 cygwinhttp://www.cygwin.com/教程:https://blog.csdn.ne...

2019-11-05 16:28:46 168

原创 安装robot framework框架后Script/文件下没有pybot.bat文件

新建一个pybot.txt文档,改名成pybot.bat。右键pybot.bat,选编辑,输入下面代码,保存@Echo offpython -m robot.run %*出现帮助信息,表示pybot可用如果提示pybot不是内部或外部命令检查环境变量是否添加Script/...

2019-10-08 11:56:06 1803

原创 Django 遇到UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered obj

在进行单元测试时,由于搭建的Django的view.py有分页功能,出现警告原因:没有对搜索结果进行排序再排序解决方法:在view.py添加排序 guest_list = Guest.objects.filter(realname__contains=search_realname) guest_list = Guest.objects.get_queryset()....

2019-10-06 15:18:24 354

原创 Django 遇到django sqlite Creating test database for alias 'default'

python manage.py test -k使用-k命令。通过在测试命令中添加--keepdb标志来防止破坏测试数据库。这将在两次运行之间保留测试数据库。如果数据库不存在,将首先创建它。任何迁移都将被应用,以使其保持最新状态。...

2019-10-06 15:13:09 1144

原创 【Django】Couldn't import Django

配置Django遇到Couldn't import Django检查python下是否有Django模块>>python>>help('modules')及检查版本Django version Python versions 1.8 2.7, 3.2 (until the end of 2016), 3.3, 3.4, 3.5 1.9...

2019-09-23 16:59:50 402

原创 import requests报错

使用import requests出现  File "E:\ProgramData\Anaconda2\lib\ntpath.py", line 85, in join    result_path = result_path + p_pathUnicodeDecodeError: 'ascii' codec can't decode byte 0xbd in position 1: or...

2018-11-15 14:47:35 424 1

转载 vue路由

1.找到项目下安装vue-routernpm install vue-router  --save   / cnpm install vue-router  --save2.在main.js引入         import VueRouter from 'vue-router'        Vue.use(VueRouter)3.在main.js配置路由        ...

2018-07-22 10:15:45 103

原创 vue非父子组件传值

1.新建文件VueEvent.js//引入空的vue实例import Vue from "vue"var VueEvent=new Vue()//暴露vue实例export default VueEvent; 2.在非父子组件中的有个文件进行广播数据//引用vue实例import VueEvent from '../model/VueEvent.js';//...

2018-07-21 20:51:08 226

原创 使用vue-resource请求数据步骤

1.安装vue-resource模块cd 到目录下cnpm install vue-resource --save   / npm install vue-resource --save/2.main.js引入vue-resourceimport VueResource from 'vue-resource';Vue.use(VueResource)、3.在组件里面直接使用...

2018-07-21 17:42:50 201

原创 父组件主动获取子组件的数据与方法/子组件主动获取父组件的数据与方法

父组件主动获取子组件的数据与方法1.父组件调用子组件时,绑定动态属性&lt;v-header :title="title"&gt;&lt;/v-header&gt;2.在子组件里面通过props接收父组件传过来的值props:{'title':String}3.直接在子组件使用 子组件主动获取父组件的数据与方法1.父组件调用子组件定义ref&lt;v-h...

2018-07-21 17:21:07 714

转载 web前端_Vue框架_关于Can't resolve 'sass-loader' in...错误的解决办法

https://blog.csdn.net/qq_24058693/article/details/80056557在项目下加载cnpm install sass-loader -Dcnpm install node-sass -D

2018-07-20 15:24:25 3082

原创 todolist

&lt;template&gt;&lt;div id="app"&gt;&lt;!--添加文件框,设置双向绑定,并添加键盘监听事件(回车键:13)--&gt;&lt;input type="text" v-model="todo" @keydown="doAdd($event)"/&gt;&lt;!--添加按钮,设置点击事件--&gt

2018-07-18 21:01:36 3981

原创 vue 双向数据绑定

&lt;template&gt;&lt;div id="app"&gt;&lt;h2&gt;{{msg}}&lt;/h2&gt;&lt;!--改变输入框的值的同时改变msg的值--&gt;&lt;input type="text" v-model='msg' /&gt;&lt;!--添加按钮,点击按钮触发getMsg()事件,getMsg()需要

2018-07-18 10:35:48 156

原创 搭建vue开发环境

1.安装node.js(http://www.runoob.com/nodejs/nodejs-install-setup.html)2.搭建vue开发环境,安装vue的脚手架工具安装相关依赖:cmd里直接输入:npm install -g cnpm --registry=https://registry.npm.taobao.orgcnpm install -global vue-cli    ...

2018-07-15 11:09:59 232

原创 创建ssh key

1、安装git工具下载地址:https://git-scm.com/downloads2、桌面右键鼠标,选中 “Git Bash here”3.输入cd ~/.ssh/,进入.ssh文件夹出现 “ No such file or directory”,你可以手动的创建一个 .ssh文件夹即可mkdir ~/.ssh4.配置全局的name和email,这里是的你github或者bitbucket的n...

2018-07-14 17:15:49 8998

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除