摘要: 1、报错信息 Unsatisfied dependency expressed through field 'xxxService'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationExcep 阅读全文
posted @ 2021-08-05 18:07 唏嘘- 阅读(2745) 评论(0) 推荐(0) 编辑
摘要: 1、formatter使用 formatter这个属性属于列参数,意思就是对当前列的数据进行格式化操作, 有三个参数,value,row,index value:代表当前单元格中的值, row:代表当前行, index:代表当前行的下标 //示例 列表字段增加超链接 formatter: funct 阅读全文
posted @ 2021-08-05 17:26 唏嘘- 阅读(1635) 评论(0) 推荐(0) 编辑
摘要: 1、js layer.confirm("确定删除吗",{ btn: ['确定', '取消'], success: function (layero, index) { this.enterEsc = function (event) { if (event.keyCode == 13 ) { //确 阅读全文
posted @ 2021-08-05 17:06 唏嘘- 阅读(923) 评论(0) 推荐(0) 编辑
摘要: 1、报错信息 org.apache.ibatis.binding.BindingException: Mapper method 'xxxMapper.XXX attempted to return null from a method with a primitive return type (i 阅读全文
posted @ 2021-08-05 16:19 唏嘘- 阅读(1198) 评论(0) 推荐(0) 编辑
摘要: 1、引用 form layui.use(['form'], function () { var form = layui.form; $('select').attr('disabled', 'disabled'); //或者 $('select').attr('disabled', true); 阅读全文
posted @ 2021-08-05 16:15 唏嘘- 阅读(1337) 评论(0) 推荐(0) 编辑
摘要: 1、问题原因: 在properties 配置文件路径, 直接粘贴复制的文件磁盘路径 properties中不能含有\符号, 否则就会报上面的错误. 2、解决方式: 将properties中的\改为 \\ 或者 / 阅读全文
posted @ 2021-08-05 15:52 唏嘘- 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 1、js var conditionJson = { name: staffName, sex: sex, }; var query = {condition: JSON.stringify(conditionJson)}; $('#tableId').bootstrapTable("refresh 阅读全文
posted @ 2021-08-05 15:42 唏嘘- 阅读(1617) 评论(0) 推荐(0) 编辑
摘要: 1、异常信息 mybatis出现Result Maps collection already contains value for…BaseResultMap的错误, 2、异常原因 有可能是generatorSqlmapCustom逆向工程的原因 假如使用generatorSqlmapCustom逆 阅读全文
posted @ 2021-08-05 15:17 唏嘘- 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 1、正则表达式 let number = "值";var num = /^[0-9]+.?[0-9]*/; //判断字符串是否为数字//判断正整数/[1−9]+[0−9]∗]∗/ if (!num.test(nubmer)) { alert(“请输入数字”); } 阅读全文
posted @ 2021-08-05 15:03 唏嘘- 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 1、bootstrapTable //插入一条数据,在日期单元格实现 可选layui日期控件, 每新增一行数据,监听需要日期的单元格,取值然后更新单元格值 $('#tableId').bootstrapTable({ onClickCell: function (field, value, row, 阅读全文
posted @ 2021-08-05 14:54 唏嘘- 阅读(797) 评论(0) 推荐(0) 编辑
摘要: 1、java public static String ImageToBase64(String src){ if (src == "" || src == null) { return ""; } File file = new File(src); if (!file.exists()) { r 阅读全文
posted @ 2021-08-05 14:40 唏嘘- 阅读(1005) 评论(0) 推荐(0) 编辑
摘要: 1、java public static String ImageToBase64(String src){ if (src == "" || src == null) { return ""; } File file = new File(src); if (!file.exists()) { r 阅读全文
posted @ 2021-08-05 14:34 唏嘘- 阅读(428) 评论(0) 推荐(0) 编辑
摘要: 1、html <div class="layui-input-block" style="width: 230px ;margin-left: 4px"> <input value="${item.icon!}" type="text" id="iconPicker" lay-filter="ico 阅读全文
posted @ 2021-08-05 14:14 唏嘘- 阅读(1282) 评论(0) 推荐(0) 编辑
摘要: 1、单行省略展示 <div class="test-text"> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa </div> .test-text { width: 100px; white-space: nowrap; overflow: hidden; t 阅读全文
posted @ 2021-08-05 13:58 唏嘘- 阅读(473) 评论(0) 推荐(0) 编辑
摘要: 1、使用的单元格属性cellStyle column:[ { field: 'birthday', title: '生日', align: 'center', cellStyle: columnColorFunction } ] function columnColorFunction (value 阅读全文
posted @ 2021-08-05 12:04 唏嘘- 阅读(2008) 评论(0) 推荐(0) 编辑
摘要: //以下方法在浏览器同一窗口操作self.location.href="/url" 当前页面打开URL页面 location.href="/url" 当前页面打开URL页面 windows.location.href="/url" 当前页面打开URL页面,前面三个用法相同。 parent.locat 阅读全文
posted @ 2021-08-05 11:47 唏嘘- 阅读(1813) 评论(0) 推荐(0) 编辑
摘要: 1、 layui在tab切换时是利用tab下的div显示和隐藏来实现的,而echarts在你页面刷新的时候就渲染出来了, 而第二个tab已经隐藏了,导致echarts自动获取dom的宽高无效,所以使用的是echarts默认的高宽,通过监听tab切换事件然后执行resize进行echarts的重新 h 阅读全文
posted @ 2021-08-05 11:05 唏嘘- 阅读(1216) 评论(0) 推荐(0) 编辑
摘要: var index = parent.layer.getFrameIndex(window.name); //获取窗口索引 parent.layer.close(index); // 关闭当前layer层 阅读全文
posted @ 2021-08-05 10:31 唏嘘- 阅读(436) 评论(0) 推荐(0) 编辑