摘要: el-form自定义校验规则 <el-form :model="moduleForm" label-width="160px" :rules="moduleFormRule" ref="moduleFormRuleRef"> ... <el-form-item label="模块别名" prop=" 阅读全文
posted @ 2021-12-30 10:53 仓鼠爱画方格子 阅读(927) 评论(0) 推荐(0)
摘要: https://www.vue-treeselect.cn/ 前端树,下拉框显示树结构 :defaultExpandLevel="Infinity" 设置 Infinity 为默认使所有分支节点扩展 在package.json中加入依赖 : "@riophae/vue-treeselect": "^ 阅读全文
posted @ 2021-12-29 16:14 仓鼠爱画方格子 阅读(1003) 评论(0) 推荐(0)
摘要: 前端部分 <input id="upload" style="display:none" type="file" @change="getFile($event)" /> getFile (event) { let self = this console.log(event.target.files 阅读全文
posted @ 2021-12-28 17:04 仓鼠爱画方格子 阅读(108) 评论(0) 推荐(0)
摘要: 先将根节点找出来 for (int i = 0; i < moduleList.size(); i++) { ProjectModuleV2 v2 = moduleList.get(i); String parentId = v2.getParentId(); if ("0".equals(pare 阅读全文
posted @ 2021-12-25 09:20 仓鼠爱画方格子 阅读(21) 评论(0) 推荐(0)
摘要: <!--模块新增编辑--> <el-dialog :title="moduleDialogName" :visible.sync="moduleDialog" :modal-append-to-body="false" center width="30%" > <el-form :model="mo 阅读全文
posted @ 2021-12-17 10:44 仓鼠爱画方格子 阅读(292) 评论(0) 推荐(0)
摘要: import com.alibaba.fastjson.JSONObject; 1. JSONObject json= new JSONObject(true); 2. JSONObject json = JSONObject.parseObject(content, Feature.Ordered 阅读全文
posted @ 2021-12-11 10:39 仓鼠爱画方格子 阅读(734) 评论(0) 推荐(0)
摘要: @Autowired private RedisTemplate<String, Object> redisTemplate; /** * 移除指定前缀的redis缓存 */ public void removeKeys() { String key = "servermonitor_" + "*" 阅读全文
posted @ 2021-12-11 10:30 仓鼠爱画方格子 阅读(814) 评论(0) 推荐(0)
摘要: 后台启动的时候报错(Connection connect = con.createConnection();这一步的时候创建不了连接): org.springframework.beans.factory.BeanCreationException: Error creating bean with 阅读全文
posted @ 2021-11-13 10:06 仓鼠爱画方格子 阅读(503) 评论(0) 推荐(0)
摘要: 需要做一个任务,将某些的服务xml取出来重新调用,xml存在oracle中是blob类型的,sql取出来中文乱码。 查了网上的很多方法,改了配置文件的编码,改了数据库编码都不行。 1。 然后正好那段xml不大,投机了一把 写查询语句的时候直接使用了utl_raw.cast_to_varchar2函数 阅读全文
posted @ 2021-02-01 11:58 仓鼠爱画方格子 阅读(1553) 评论(0) 推荐(0)
摘要: 原文链接:http://www.voidcn.com/article/p-hsjkhemr-dh.html 转载为了记录 最近定位项目实际上线后遇到的1个StackOverflowError问题,这里做个分析。通过日志文件可以看到: java.lang.StackOverflowError at j 阅读全文
posted @ 2021-01-25 14:14 仓鼠爱画方格子 阅读(169) 评论(0) 推荐(0)