摘要: elementui中有个隐藏的组件,就是element官网使用的滚动条,tree 左右滑动滚动条 ①首先全局引入element,import ElementUI from 'element-ui'; import ElementUI from 'element-ui' Vue.use(Element 阅读全文
posted @ 2019-06-19 14:20 无敌小怪兽! 阅读(11236) 评论(0) 推荐(0) 编辑
摘要: 父组件 <maintenance-super :show="{'modalSuper':modalSuper,'myData':myData}" @on-close="closeModal" ></maintenance-super> 父组件 <maintenance-super :show="{' 阅读全文
posted @ 2019-11-21 10:25 无敌小怪兽! 阅读(1859) 评论(0) 推荐(0) 编辑
摘要: https://www.rabbitmq.com/getstarted.html 官网文档 我们将呼叫我们的消息发布者(发送者)发送和我们的消息消费者(接收者) Recv。发布者将连接到RabbitMQ,发送单个消息,然后退出 创建一个Send.java 根据 springboot 配置文件配置 配 阅读全文
posted @ 2019-08-23 15:12 无敌小怪兽! 阅读(271) 评论(0) 推荐(0) 编辑
摘要: D:\elasticsearch\elasticsearch-2.4.0\bin>elasticsearchException in thread "main" SettingsException[Failed to load settings from [elasticsearch.yml]]; 阅读全文
posted @ 2019-04-28 12:06 无敌小怪兽! 阅读(4077) 评论(0) 推荐(0) 编辑
摘要: springboot +es es 2.1.0 参考这个 https://www.cnblogs.com/yueshutong/p/9381543.html cluster-nodes :改成127.0.0.1:9300 不然启动报如上错误 阅读全文
posted @ 2019-04-26 13:34 无敌小怪兽! 阅读(22364) 评论(0) 推荐(0) 编辑
摘要: 1.添加依赖 2.配置application.properties 2.创建config mybatisTableConfig 创建entity 代码地址 https://github.com/zyf970617/mybatis-auto-create-table.git 阅读全文
posted @ 2018-12-01 11:45 无敌小怪兽! 阅读(1332) 评论(0) 推荐(0) 编辑
摘要: 1.动态添加表 mapper 映射文件 controller 添加属性statementType="STATEMENT" 同时sql里的属有变量取值都改成${xxxx},而不是#{xxx} statementType:STATEMENT(非预编译),PREPARED(预编译)或CALLABLE中的任 阅读全文
posted @ 2018-12-01 11:24 无敌小怪兽! 阅读(5249) 评论(0) 推荐(0) 编辑
摘要: 在开发环境下正常,但使用jar运行时,报错Error resolving template template might not exist or might not be accessible,意思是模板页不在,但在jar里存在该模板页 1.查看pom.xml文件是否添加 2.在applicati 阅读全文
posted @ 2018-11-21 11:00 无敌小怪兽! 阅读(72588) 评论(0) 推荐(0) 编辑
摘要: 2、解决方案 在main函数启动类上加注解:@SpringBootApplication(scanBasePackages = "com") 问题即可解决。 阅读全文
posted @ 2018-11-21 10:51 无敌小怪兽! 阅读(2242) 评论(0) 推荐(1) 编辑
摘要: mybatis框架提供了非常好用的逆向工程插件,但是在使用过程中会有很多问题。 我在使用中就遇到了只生成insert和insertSeletive方法,而不生成其他根据primary key查询更新删除的方法。 解决方案: 1.检查数据库中的表是否有主键,如果没有主键是不会生成类似selectByP 阅读全文
posted @ 2018-11-20 14:01 无敌小怪兽! 阅读(7134) 评论(1) 推荐(1) 编辑