12 2021 档案
摘要:el-form自定义校验规则 <el-form :model="moduleForm" label-width="160px" :rules="moduleFormRule" ref="moduleFormRuleRef"> ... <el-form-item label="模块别名" prop="
阅读全文
摘要:https://www.vue-treeselect.cn/ 前端树,下拉框显示树结构 :defaultExpandLevel="Infinity" 设置 Infinity 为默认使所有分支节点扩展 在package.json中加入依赖 : "@riophae/vue-treeselect": "^
阅读全文
摘要:前端部分 <input id="upload" style="display:none" type="file" @change="getFile($event)" /> getFile (event) { let self = this console.log(event.target.files
阅读全文
摘要:先将根节点找出来 for (int i = 0; i < moduleList.size(); i++) { ProjectModuleV2 v2 = moduleList.get(i); String parentId = v2.getParentId(); if ("0".equals(pare
阅读全文
摘要:<!--模块新增编辑--> <el-dialog :title="moduleDialogName" :visible.sync="moduleDialog" :modal-append-to-body="false" center width="30%" > <el-form :model="mo
阅读全文
摘要:import com.alibaba.fastjson.JSONObject; 1. JSONObject json= new JSONObject(true); 2. JSONObject json = JSONObject.parseObject(content, Feature.Ordered
阅读全文
摘要:@Autowired private RedisTemplate<String, Object> redisTemplate; /** * 移除指定前缀的redis缓存 */ public void removeKeys() { String key = "servermonitor_" + "*"
阅读全文

浙公网安备 33010602011771号