上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: 最近用openlayer做打印时候遇到打印空白、报错等问题,网上现有的说法大都是粘贴复制的,比如: map.once("postrender", function(event) { // 以下方法在 ol 6.4.3版本无效, event.context为undefined var canvas = 阅读全文
posted @ 2022-08-18 15:22 空知大仙人 阅读(399) 评论(0) 推荐(0)
摘要: 今天在处理mp4视频浏览时候,用到了vedio标签, 基本使用可以参考 参考地址 问题: 但是加载的视频不能调整进度条, 大多数文章说可以通过 var time = document.getElementById("vedio_id"); // 单位秒 time.currentTime = 60; 阅读全文
posted @ 2022-08-03 15:49 空知大仙人 阅读(626) 评论(0) 推荐(0)
摘要: 用iframe嵌入另一个页面做演示时候,之前几次嵌入都没问题,这次遇到一个跨域错误 Blocked a frame with origin “xxx“ from accessing a cross-origin frame 正常情况下,如果iframe嵌入的页面跟外部页面没有交互情况下 不会存在跨域 阅读全文
posted @ 2022-05-13 00:00 空知大仙人 阅读(10552) 评论(0) 推荐(0)
摘要: 下午连现场mysql库时候报错: javax.net.ssl.SSLException: closing inbound before receiving peer's close_notify at java.base/sun.security.ssl.Alert.createSSLExcepti 阅读全文
posted @ 2022-05-12 23:48 空知大仙人 阅读(654) 评论(0) 推荐(0)
摘要: select count(*) from v$process; --取得数据库目前的进程数。 select value from v$parameter where name = 'processes';--取得进程数的上限 select count(*) from v$session; --取得数 阅读全文
posted @ 2022-05-09 17:20 空知大仙人 阅读(89) 评论(0) 推荐(0)
摘要: 可以通过以下样例代码,实现在浏览器端打开摄像头,并抓拍图片,图片以data url格式保存 <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>摄像头调用</title> <script> var videoPl 阅读全文
posted @ 2022-05-09 16:29 空知大仙人 阅读(492) 评论(0) 推荐(0)
摘要: JPA 和 数据库配置缺失,会报错 Unable to create requested service[org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] 设置下数据库相关配置即可: # 数据库链接 spring.datasource.driver 阅读全文
posted @ 2022-05-09 15:16 空知大仙人 阅读(3027) 评论(0) 推荐(0)
摘要: docker如果挂载了外挂目录,路径需要为绝对路径,否则报错: ERROR: for 32c44c463102-publish_consumer-app_1 Cannot create container for service svn-Recreating 32c44c463102-publish 阅读全文
posted @ 2022-05-09 14:41 空知大仙人 阅读(965) 评论(0) 推荐(0)
摘要: 当在version 3版本的yml文件里加入deploy相关资源约束时候: version: "3.4" services: remp-xz-provider-app: restart: always image: ${HUB_URL}/register/remp-xz-provider-app:$ 阅读全文
posted @ 2022-05-09 14:25 空知大仙人 阅读(264) 评论(0) 推荐(0)
摘要: IDEA代码调试时候报错: source code does not match the bytecode 原因是代码运行版本 与 本地版本不一致!! 可以 Build —> Rebuild Project 重新编译 重新加载 参考: https://stackoverflow.com/questi 阅读全文
posted @ 2022-05-09 14:05 空知大仙人 阅读(4795) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页