上一页 1 2 3 4 5 6 7 ··· 16 下一页
摘要: 按照官网入门使用的介绍创建ant design pro项目,结果报错(图片是网上找的) 在网上找到两种解决办法 第一种,比较常见的解决办法,参考:https://www.pianshen.com/article/63631726630/ 打开 D:\node\node_global\bin目录,里面 阅读全文
posted @ 2020-09-17 16:27 無玑小姐 阅读(3569) 评论(0) 推荐(1) 编辑
摘要: 要求:每次打开修改弹窗都根据该条数据的ID发请求获取数据渲染表格 解决办法:给Modal添加key,每次弹出的时候 改变key的值,保证每次key的值不同 代码: 在state中设定一个初始值,并在Modal中给模态框设置key constructor(props) { super(props); 阅读全文
posted @ 2020-09-16 10:36 無玑小姐 阅读(6747) 评论(0) 推荐(2) 编辑
摘要: 一个修改功能,点击确定调用回调函数往后台发请求,因为想加一个确定按钮的loading效果 原来的代码 //模态框确认点击事件,修改子页面props valid状态,触发子页面执行回调 handleModalOk() { this.setState({ modelIsValid: true, }, ( 阅读全文
posted @ 2020-09-11 10:36 無玑小姐 阅读(1101) 评论(0) 推荐(0) 编辑
摘要: 直接上代码 public class TestRegex { public static void main(String[] args){ String a = "^(?!^$)([a-zA-Z0-9]{6,})$"; Pattern pattern2 = Pattern.compile(a); 阅读全文
posted @ 2020-09-09 15:48 無玑小姐 阅读(1871) 评论(0) 推荐(0) 编辑
摘要: 1,需要安装nodejs,并且npm 版本需要大于 3.0 我的已经安装过了,检查一下版本 如果没有安装或者版本低参考这两个文章 https://www.runoob.com/vue2/vue-install.html https://www.jianshu.com/p/02b12c600c7b 2 阅读全文
posted @ 2020-09-04 11:35 無玑小姐 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 查看端口 netstat -an netstat -ano 查看某个端口被哪个应用占用 netstat -ano |findstr "端口号" 根据进程id查看进程名称 tasklist |findstr "进程id号" 杀掉进程 taskkill /f /t /im "进程id或者进程名称" 阅读全文
posted @ 2020-08-26 14:29 無玑小姐 阅读(190) 评论(0) 推荐(1) 编辑
摘要: 先上代码 package com.example.test; import com.lowagie.text.*; import com.lowagie.text.Font; import com.lowagie.text.Rectangle; import com.lowagie.text.rtf 阅读全文
posted @ 2020-08-26 14:24 無玑小姐 阅读(1104) 评论(0) 推荐(1) 编辑
摘要: 记录一下自己的一个粗心操作 项目数据库是Oracle 启动的时候报错ORA-12505, TNS:listener does not currently know of SID given in 原因是数据库连接写错了 本来应该是1524,结果写成了默认的1521,导致项目启动报错。 阅读全文
posted @ 2020-08-26 14:10 無玑小姐 阅读(662) 评论(0) 推荐(0) 编辑
摘要: 参考:https://github.com/ant-design/ant-design/issues/3517 项目目录如下 要同时启动多个子项目,但是报错 Caught exception: Error: listen EADDRINUSE: address already in use :::8 阅读全文
posted @ 2020-08-26 14:05 無玑小姐 阅读(1265) 评论(0) 推荐(1) 编辑
摘要: 1,发送get请求 *export({ payload }, { put }) { yield put({ type: 'updateState', payload: { ...payload, selectedRows: [], loading: true }, }); window.locati 阅读全文
posted @ 2020-08-26 13:56 無玑小姐 阅读(995) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 16 下一页