Loading

11 2019 档案

摘要:参考: https://www.cnblogs.com/qwert1/p/8909455.html https://blog.csdn.net/qq_42984640/article/details/89923797 https://blog.csdn.net/qq_42394457/article 阅读全文
posted @ 2019-11-22 14:30 小飞猪咯咯 阅读(1772) 评论(0) 推荐(0)
摘要:windows10查看某个进程: netstat -ano | findstr 端口号 杀死某个进程: taskkill /f /pid 进程号 linux查看占用端口的进程: netstat -apn | grep 进程号 netstat -nltp | grep 进程号 杀死进程: kill - 阅读全文
posted @ 2019-11-20 22:58 小飞猪咯咯 阅读(228) 评论(0) 推荐(0)
摘要:参考: https://www.cnblogs.com/wy120/p/10179901.html https://blog.csdn.net/sinat_36146776/article/details/89918302 我的习惯是,分离js和css,html写在vue文件中 js: // -- 阅读全文
posted @ 2019-11-19 13:59 小飞猪咯咯 阅读(467) 评论(0) 推荐(0)
摘要:参考; https://github.com/PanJiaChen/vue-element-admin/blob/master/src/views/table/dynamic-table/components/FixedThead.vue 一、制作下拉多选框 <el-dropdown :hide-o 阅读全文
posted @ 2019-11-18 22:01 小飞猪咯咯 阅读(4504) 评论(0) 推荐(0)
摘要:参考: https://element.eleme.cn/#/zh-CN/component/dropdown <el-row> <el-button-group style="margin-bottom:20px"> <el-button size="small" type="primary" i 阅读全文
posted @ 2019-11-18 20:35 小飞猪咯咯 阅读(12851) 评论(0) 推荐(0)
摘要:一、编写一个配置类,并且注册CorsFilter: 注意允许跨域的域名不要写错 @Configuration public class ZysuyuanCorsConfiguration { @Bean public CorsFilter corsFilter() { // 初始化cors配置对象 阅读全文
posted @ 2019-11-17 16:55 小飞猪咯咯 阅读(965) 评论(0) 推荐(0)
摘要:一、导入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <!-- 这个是剔除掉自带的 tomcat部署的--> <exclusio 阅读全文
posted @ 2019-11-16 18:04 小飞猪咯咯 阅读(379) 评论(0) 推荐(0)
摘要:参考: https://blog.csdn.net/qq_24076135/article/details/85212081 https://www.jianshu.com/p/036d31ae77d3 一、编写分页实体类 /** * 此类用于返回分页结果集 * @param <T> */ publ 阅读全文
posted @ 2019-11-15 20:34 小飞猪咯咯 阅读(787) 评论(0) 推荐(0)
摘要:参考:https://www.jb51.net/article/136432.htm 一、查看内存 free -h free -m 二、解决方法: 1、增加swap交换空间解决问题: dd if=/dev/zero of=/swapfile bs=1M count=1024 mkswap /swap 阅读全文
posted @ 2019-11-15 20:12 小飞猪咯咯 阅读(363) 评论(0) 推荐(0)
摘要:使用注解写aop时最好使用环绕通知写 切面类: /** * 用于记录日志的工具类,它里面提供了公共的代码 */ @Component("logger") @Aspect //表示当前类是一个切面类 public class Logger { @Pointcut("execution(* cn.fly 阅读全文
posted @ 2019-11-15 13:39 小飞猪咯咯 阅读(151) 评论(0) 推荐(0)
摘要:参考: https://blog.csdn.net/jeffleo/article/details/54136904 一、AOP的核心概念AOP(Aspect Oriented Programming),是面向切面编程的技术。AOP基于IoC基础,是对OOP的有益补充,流行的AOP框架有Sping 阅读全文
posted @ 2019-11-15 12:53 小飞猪咯咯 阅读(190) 评论(0) 推荐(0)
摘要:参考: https://www.zhihu.com/question/24863332 https://zhuanlan.zhihu.com/p/60842627 什么是AOP:(注:Spring Security的拦截是基于Servlet的Filter的,不是aop,不过两者在使用方式上类似) 好 阅读全文
posted @ 2019-11-15 10:22 小飞猪咯咯 阅读(155) 评论(0) 推荐(0)
摘要:先安装screenfull:npm install screenfull@4.2.0 --save (注意版本号) 一、在\src\components目录下创建Screenfull文件夹,创建index.vue文件,封装screenfull <template> <div> <svg-icon : 阅读全文
posted @ 2019-11-14 13:55 小飞猪咯咯 阅读(2293) 评论(1) 推荐(0)
摘要:参考: https://github.com/PanJiaChen/vue-admin-template/issues/349 一、从vue-element-admin复制文件: vue-admin-template\src\layout\components\TagsView 文件夹vue-adm 阅读全文
posted @ 2019-11-14 02:49 小飞猪咯咯 阅读(14988) 评论(19) 推荐(4)
摘要:转载: 版权声明:本文为CSDN博主「qq_36098284」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。原文链接:https://blog.csdn.net/qq_36098284/article/details/80678466 一、property'中 阅读全文
posted @ 2019-11-13 20:14 小飞猪咯咯 阅读(938) 评论(0) 推荐(0)
摘要:报错如下所示: 解决方案: nano /etc/my.cnf 添加如下设置: key_buffer=16K table_open_cache=4 query_cache_limit=256K query_cache_size=4M max_allowed_packet=1M sort_buffer_ 阅读全文
posted @ 2019-11-13 16:31 小飞猪咯咯 阅读(308) 评论(0) 推荐(0)
摘要:mybatis-config.xml配置文件配置时,要注意节点顺序 <properties>...</properties> <settings>...</settings> <typeAliases>...</typeAliases> <typeHandlers>...</typeHandlers 阅读全文
posted @ 2019-11-11 22:12 小飞猪咯咯 阅读(250) 评论(0) 推荐(0)
摘要:注意配置以下的依赖: <!-- 引入druid数据源--> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.1.8</version> </dependency> <!-- a 阅读全文
posted @ 2019-11-11 19:57 小飞猪咯咯 阅读(867) 评论(0) 推荐(0)
摘要:解决方法: 在数据库配置的url后添加?useUnicode=true&amp;characterEncoding=utf-8 参考: https://blog.csdn.net/IT_private/article/details/80990621 阅读全文
posted @ 2019-11-09 12:53 小飞猪咯咯 阅读(911) 评论(0) 推荐(0)
摘要:一、进入到项目目录 npm init 二、安装semantic-ui npm install semantic-ui --save 三、编译输出semantic-ui cd ./semantic gulp build 四、监视js、css gulp watch 阅读全文
posted @ 2019-11-08 22:41 小飞猪咯咯 阅读(365) 评论(0) 推荐(0)
摘要:一、进入wordpress后台,选择工具-导出数据,选择你需要导出的内容、文章等,会下载一个xml文件到本地电脑 二、使用一个名为wordpress-to-markdown的工具 源码地址:wordpress-to-markdown 按照作者的使用说明进行操作: $ git clone https: 阅读全文
posted @ 2019-11-08 17:17 小飞猪咯咯 阅读(2278) 评论(0) 推荐(0)
摘要:入站规则: 出站规则: 阅读全文
posted @ 2019-11-06 21:00 小飞猪咯咯 阅读(2401) 评论(0) 推荐(0)
摘要:转载: https://blog.csdn.net/Eastmount/article/details/20413773 一.main()函数参数 通常我们在写主函数时都是void main()或int main() {..return 0;},但ANSI-C(美国国家标准协会,C的第一个标准ANS 阅读全文
posted @ 2019-11-06 15:23 小飞猪咯咯 阅读(1780) 评论(0) 推荐(1)
摘要:参考: https://www.jianshu.com/p/37c6688c4fcb https://blog.csdn.net/sjhuangx/article/details/71519066 https://blog.csdn.net/qq_33547169/article/details/7 阅读全文
posted @ 2019-11-05 14:18 小飞猪咯咯 阅读(8975) 评论(0) 推荐(0)
摘要:转载: 作者:七个榴莲链接:https://www.jianshu.com/p/46a423bdde31来源:简书 遇到的问题:Maven依赖不自动补全 在idea上使用maven插件时,发现在pom.xml编写项目依赖的jar包时,已经下载到本地的jar,无法自动补全,需要手动写出来。非常影响效率 阅读全文
posted @ 2019-11-05 14:01 小飞猪咯咯 阅读(5349) 评论(0) 推荐(1)
摘要:参考: https://www.cnblogs.com/liyuanhong/articles/5785368.html 一、修改网卡设置 nano /etc/sysconfig/network-scripts/ifcfg-enp3s0 TYPE=Ethernet HWADDR=30:85:a9:b 阅读全文
posted @ 2019-11-04 16:45 小飞猪咯咯 阅读(2026) 评论(0) 推荐(0)
摘要:参考:MySQL 内连接、外连接、左连接、右连接、全连接 SELECT count(*) FROM `t_product_base` select m_name from t_medicinal_info where id in (select t_medicinal_id from t_medic 阅读全文
posted @ 2019-11-03 20:23 小飞猪咯咯 阅读(122) 评论(0) 推荐(0)
摘要:参考: mysql 结果集去重复值并合并成一行 SQL 三表联查 数据库三表连接查询怎么做 合并: MySQL中group_concat函数 完整的语法如下: group_concat([DISTINCT] 要连接的字段 [Order BY ASC/DESC 排序字段] [Separator '分隔 阅读全文
posted @ 2019-11-03 18:36 小飞猪咯咯 阅读(2347) 评论(0) 推荐(1)
摘要:参考: ElementUI多个子组件表单的校验管理:https://www.jianshu.com/p/541d8b18cf95 Vue 子组件调用父组件方法总结:https://juejin.im/post/5c1370365188250f73759a79 Vue表单类的父子组件数据传递:http 阅读全文
posted @ 2019-11-03 14:31 小飞猪咯咯 阅读(11684) 评论(0) 推荐(0)
摘要:需求:通过不同的参数复用同一组件,实现动态加载数据和图片,同时,在页面刷新时,图片依旧可以加载成功。 过程出现的bug和问题: 1、使用params传参后,再次刷新页面,参数丢失导致数据无法再次加载 2、改用query进行传参后,页面刷新后图片无法加载,这是由于图片的url是在created钩子函数 阅读全文
posted @ 2019-11-01 21:51 小飞猪咯咯 阅读(794) 评论(0) 推荐(0)