摘要: 今天遇到个git的问题:需要同时提交到两个远程仓库 解决方法: git add . git commit -m '提交信息' git remote -v git remote add old_origin 另一个远程仓库地址 git push old_origin 因为我的origin代称已经使用了 阅读全文
posted @ 2023-11-22 17:51 刘星Stars 阅读(42) 评论(0) 推荐(0) 编辑
摘要: 做原生相机拍照的时候遇见的有趣问题,视频流是上传到云服务器的在线链接,赋值到video的src上,然后使用canvas的drawImg方法去截取视频帧做照片,结果canvas报错视频跨域。 解决方案: <video crossorigin="anonymous" src="在线地址" ref="vi 阅读全文
posted @ 2023-11-22 16:54 刘星Stars 阅读(55) 评论(0) 推荐(0) 编辑
摘要: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission,在当前上下文中,用户代理或平台不允许该请求 阅读全文
posted @ 2023-11-14 11:58 刘星Stars 阅读(1395) 评论(0) 推荐(0) 编辑