上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 22 下一页
摘要: 7|arm | npm ERR! A complete log of this run can be found in:7|arm | npm ERR! /root/.npm/_logs/2021-07-30T07_20_32_242Z-debug.logPM2 | App [arm:7] exit 阅读全文
posted @ 2021-07-30 15:37 李悠然 阅读(1517) 评论(0) 推荐(0) 编辑
摘要: 最近根据领导的指示,需要实现一个中国地图的可视化全国的销售数量,因为我一直是后台开发的人员,对typescript中的强类型比较感兴趣同时数据交互react也很好的实现数据的绑定。经过长达很久的探索,完成了这块的内容。 环境配置: "echarts": "^5.1.2","echarts-for-r 阅读全文
posted @ 2021-07-27 15:46 李悠然 阅读(985) 评论(0) 推荐(0) 编辑
摘要: 在react中使用TS导致类型无法加载的问题,会抛出could not find a declaration file for module的错误 1. 导致这个错误的原因是 js库无法在Ts中正常加载 2. 解决方法 第一种方法 一般可以通过@types/***加载module 第二种方法 毕竟不 阅读全文
posted @ 2021-07-22 10:25 李悠然 阅读(3193) 评论(0) 推荐(0) 编辑
摘要: 1. 在idea中编写sql时候很容易出现列名错误,可以在idea中进行配置。建立连接 添加一个新的连接,出现连接的配置信息,可以根据连接填写信息。test connection 测试之后,如果没有驱动会自动打上驱动。 配置完成之后,会出现连接数据库之后的信息 2. 配置idea 在file-set 阅读全文
posted @ 2021-07-07 11:00 李悠然 阅读(864) 评论(0) 推荐(0) 编辑
摘要: 1. 首先需要你的电脑中有git 下载网址:https://git-scm.com/downloads 2. 打开idea配置相关信息 配置你的git信息 在你的项目中创建git 在vcs工具中创建git 点击提交 提交之后push 或者右键,创建远程仓库的master分支,提交url信息 阅读全文
posted @ 2021-06-24 08:09 李悠然 阅读(284) 评论(0) 推荐(0) 编辑
摘要: react 项目在运行的过程中报错 Failed to compile../src/common/subTitle.tsxModule not found: Can't resolve 'react-router-dom' in 'E:\react\ahp\src\common' 这是因为手动加载依 阅读全文
posted @ 2021-06-07 16:43 李悠然 阅读(2208) 评论(0) 推荐(0) 编辑
摘要: 1. 将资源以到服务器上,除大文件 2. npm 安装依赖包 npm install 3. 打包 npm run build 4.运行 pm2 start --name agv npm -- start 5. 查看 阅读全文
posted @ 2021-06-02 11:39 李悠然 阅读(1126) 评论(0) 推荐(0) 编辑
摘要: [root@iZ2zebmri8fdr53gafp1dwZ agv]# npm install> sharp@0.26.2 install /home/agv/node_modules/sharp> (node install/libvips && node install/dll-copy && 阅读全文
posted @ 2021-06-02 10:47 李悠然 阅读(1668) 评论(0) 推荐(0) 编辑
摘要: 1. 前端登录之后Set-Cookie为空 login =(form : any)=>{ login(form.username,form.password).then(response =>{ const id = response.data.id console.log(response) co 阅读全文
posted @ 2021-05-28 15:27 李悠然 阅读(5373) 评论(0) 推荐(0) 编辑
摘要: 在学习React的时候,进行代码调试追踪数据。webstorm 支持chrome进行断点调试。开发环境:webstorm react 1. 下载jet插件 链接:https://pan.baidu.com/s/19X5-OI5ZrjOtmzv4DgCfEw 提取码:amk3 复制这段内容后打开百度网 阅读全文
posted @ 2021-05-19 15:53 李悠然 阅读(1478) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 22 下一页