- 博客(15)
- 收藏
- 关注
原创 element-ui里面的el-input框有时候无法输入和无法改变的问题
<el-form-item label="数量"> <el-input style="width:190px" placeholder="请输入数量" type="number" v-model="form2.quantity" @input="updateTotal($event)"/></el-form-item>无论怎么操作视图没有更新的问...
2020-04-24 17:34:31
5491
原创 Navicat远程连接不上Liunx的mysql,有以下几点造成
1 查看服务器的防火窗的3306端口是否已开启firewall-cmd --query-port=3306/tcp如果没有开启的,则添加开启firewall-cmd --zone=public --add-port=3306/tcp --permanent再重启防火窗firewall-cmd --reload如果还不放心的,就执行第一条命令查看是否已开启3306端口...
2020-04-12 11:17:00
274
原创 pagehelper联表分页查询
pagehelper联表分页,会默认在sql语句的后面添加 limit ?,进行分页。如果是复杂的sql联表查询结果远远不能满足我们,添加 limit在我们想要的位置进行分页,下面的代码中“AS limitable”,为分页标识的sql. 末尾带有 AS limitable 的子查询会拼接上limit进行先分页.然后再外联查询import java.lang.reflect.Field;i...
2020-03-05 11:49:08
5022
2
原创 springcloud服务消费者调用方式(rest 和 feign)
1、feign进行远程调用 maven jar<dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-feign</artifactId></dependency> ...
2019-08-15 11:04:39
437
原创 ios微信打开网页键盘弹起后页面上滑,导致弹框里的按钮响应区域错位
input失去焦点,页面被顶起没有还原,所以就有以下的方法来处理$("input").blur(function(){ setTimeout(() => { const scrollHeight = document.documentElement.scrollTop || document.body.scrollTop || 0; window.scrollTo(0...
2018-12-28 15:51:24
3180
转载 nginx配置websocket配置
server { listen 80; server_name 域名; location / { proxy_pass http://127.0.0.1:8080/; // 代理转发地址 proxy_http_version 1.1; proxy_read_timeout 3600s; // 超时设置 ...
2018-12-14 11:48:38
512
原创 linux 配置nginx证书(配置)
# For more information on configuration, see:# * Official English Documentation: http://nginx.org/en/docs/# * Official Russian Documentation: http://nginx.org/ru/docs/user nginx;worker_proce...
2018-12-14 11:12:15
403
原创 Linux(CentOS 7.4)下安装mysql-5.7
1.这里我将mysql安装在/usr/local/mysql目录里面,也可以安装在其他地方mkdir /usr/local/mysql2.下载mysql压缩包wget http://dev.MySQL.com/get/Downloads/MySQL-5.7/mysql-5.7.11-Linux-glibc2.5-x86_64.tar.gz 3.解压并复制tar -xvf m...
2018-12-12 16:40:49
352
原创 Linux服务器配置
Linux 命令~ yum install nginx下载命令~ wget 下载地址sh startup.sh 启动tomcat登录mysql./mysql -u root -p
2018-06-28 15:11:46
165
转载 SpringMvc通过@Value注解读取.properties配置内容
经常报的错误:Could not resolve placeholder除去properites文件路径错误、拼写错误外,出现"Could not resolve placeholder"很有可能是使用了多个PropertyPlaceholderConfigurer或者多个<context:property-placeholder>的原因。解决方案:注意两个都要加上ignore-unr...
2018-05-24 14:25:39
796
原创 activiti根据流程节点所有流向线路信息获取办理人
public List<?> transitionUserTaskList(List<PvmTransition> outTransitions,List<?> list){ List<?> list2 = list; for(PvmTransition tr : outTransitions){ PvmActivity activ...
2018-04-23 11:12:27
4631
3
转载 activiti根据流程的版本号排序,过滤重复
ProcessDefinitionQuery query = repositoryService.createProcessDefinitionQuery().processDefinitionKey(processKey).orderByProcessDefinitionVersion().asc(); //定义有序map,相同的key,添加map值后,后面的会覆盖前面的值 ...
2018-04-23 11:03:50
1720
转载 Jquery map类型的json格式循环输出(key是关系类型,value是一个list)
//[{name:"李四",sex:"男",age:"18",infoList:{adc:[{a:"adc",b:"sdc"}],....},{name:"张三",sex:"男",age:"20",infoList:{adwc:[{a:"qee",b:"adc"}],....},......}]//注意:jqu
2018-04-23 10:53:58
2095
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人