摘要: # 1.umi配置 ![image](https://img2023.cnblogs.com/blog/2341685/202308/2341685-20230808111136837-177495578.png) > 只需要配置 `publicPath:'./'` # 2. nginx配置 ![i 阅读全文
posted @ 2023-08-08 11:16 银弹998 阅读(630) 评论(0) 推荐(0)
摘要: #效果图 这里偷懒了没限制注记渲染。 #实现原理 基本上就是搬运官方例子Vector Clipping Layer。 #代码 点击查看代码 let clipSource = new VectorSource({}); let features = topoJson.readFeatures(JSON 阅读全文
posted @ 2023-02-21 15:58 银弹998 阅读(247) 评论(0) 推荐(0)
摘要: 效果图 实现原理简单描述 Openlayers 图层的渲染大多数都是通过 canvas实现,在图层渲染前后事件中通过canvas控制渲染区域即可实现。 #代码 点击查看代码 componentDidMount() { this.map = this.mapRef.getMap(); this.ini 阅读全文
posted @ 2023-02-14 16:43 银弹998 阅读(441) 评论(0) 推荐(0)
摘要: #1 使用场景 有一个项目需要监听一个端口获取数据,这时候就不需要启动web环境了。但是又希望可以用Springboot比较方便。 #2 具体实现 在配置文件中加入: 点击查看代码 spring: main: web-application-type: none 阅读全文
posted @ 2023-01-09 10:23 银弹998 阅读(265) 评论(0) 推荐(0)
摘要: 运行位置 在安装目录的的 bin 文件夹下(有一个psql.exe文件)。 命令 psql -U postgres -d multisource -f C:\Users\xxx\Desktop\xxxx.sql" -h :ip地址,默认为127.0.0.1 -p :端口号,默认为5432 -U :用 阅读全文
posted @ 2022-11-22 16:32 银弹998 阅读(180) 评论(0) 推荐(0)
摘要: #1表结构 oid、pid为父子结构 #2 代码 点击查看代码 WITH RECURSIVE f as ( SELECT * FROM wg_formula WHERE oid = 1 UNION all SELECT wg_formula.* FROM wg_formula,f where wg_ 阅读全文
posted @ 2022-09-29 14:24 银弹998 阅读(38) 评论(0) 推荐(0)
摘要: 1 异常 Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException 2 解决方案 application.yml 配置文件中添加下方内容: s 阅读全文
posted @ 2022-09-14 10:32 银弹998 阅读(168) 评论(0) 推荐(0)
摘要: 1 运行环境 Windows10系统 maven版本:3.3.9 自定义了仓库地址(修改了 ‪D:\apache-maven-3.3.9\conf\settings.xml 中的 localRepository 标签内容) 配置了 mvn 环境变量(不知道的可以自行百度) 2 命令 mvn inst 阅读全文
posted @ 2022-09-06 17:51 银弹998 阅读(935) 评论(0) 推荐(0)
摘要: 1 目录预览 注意统一包名前缀,并且每个模块有独一无二的最后级包名 2 父模块创建 2.1 pom文件如下: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns 阅读全文
posted @ 2022-09-05 16:41 银弹998 阅读(226) 评论(1) 推荐(1)
摘要: 运行位置 在安装目录的的 bean 文件夹下(有一个pg_dump文件)。 命令 pg_dump -h 127.0.0.1 -p 5432 -U postgres -d xxx >C:\Users\admin\Desktop\临时文件\xxx.sql -h :ip地址 -p :端口号 -U :用户名 阅读全文
posted @ 2022-09-01 17:48 银弹998 阅读(151) 评论(0) 推荐(0)