会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Excel2016
博客园
首页
新随笔
联系
订阅
管理
2025年6月2日
让Unity打包WebGL后构建的包为.unityweb格式
摘要: 官方文档 https://docs.unity3d.com/cn/2020.3/Manual/webgl-deploying.html#content_encoding_header 开启解压缩回退Decompression Fallback 在这里设置 效果 最后打包的文件Build里面就是.un
阅读全文
posted @ 2025-06-02 02:24 Excel2016
阅读(65)
评论(0)
推荐(0)
2024年9月11日
flask yield流式没有流式返回,解决方案
摘要: 使用显式刷新输出 关键代码 yield " " * 1024 + "\n\n" 完整代码 from flask import Flask, Response, stream_with_context import time app = Flask(__name__) def generate_dat
阅读全文
posted @ 2024-09-11 21:11 Excel2016
阅读(296)
评论(0)
推荐(0)
2024年9月10日
解决python封装Logging模块后,log位置显示错误的问题
摘要: 引入 今天由于项目需要,要将logging库二次封装成一个类,以实现一些自定义的功能。 我将二次封装了一个logService类,然后在其中同样也实现info, warn, error等日志函数。额外加了一个将日志存入数据库的功能。 大概是像下面这样子: 但是在封装的过程中,出现了一个问题:log中
阅读全文
posted @ 2024-09-10 21:56 Excel2016
阅读(67)
评论(0)
推荐(0)
2024年8月31日
linux配置docker源,国内加速镜像(注册阿里云镜像)
摘要: docker源配置,国内加速地址 更改配置文件 vi /etc/docker/daemon.json { "registry-mirrors": [ "https://mirror.baidubce.com", "https://mirror.ccs.tencentyun.com", "https:
阅读全文
posted @ 2024-08-31 14:18 Excel2016
阅读(4258)
评论(0)
推荐(0)
2024年8月16日
element-plus的el-dropdown去除鼠标悬浮或点击时的黑边框
摘要: 设置为outline:unset;或者outline:none;即可 :deep(.el-tooltip__trigger:focus-visible) { outline: unset; }
阅读全文
posted @ 2024-08-16 16:39 Excel2016
阅读(895)
评论(0)
推荐(1)
2024年8月12日
Docker最新版19.03 详细教程
摘要: # 1. 卸载旧版本 yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ doc
阅读全文
posted @ 2024-08-12 09:46 Excel2016
阅读(354)
评论(0)
推荐(0)
2024年8月11日
从Docker拉取镜像一直失败超时?这些解决方案帮你解决烦恼
摘要: 解决目前无法访问,超时连接方法 解决方案1:配置加速地址 配置加速地址:适用于Ubuntu 16.04+、Debian 8+、CentOS 7+ 方式一:使用以下命令设置registry mirror:但是需要重启docker服务 sudo mkdir -p /etc/docker sudo tee
阅读全文
posted @ 2024-08-11 09:49 Excel2016
阅读(2467)
评论(0)
推荐(0)
2024年6月25日
vue Cannot find module @/xxx/xxx.ts or its corresponding type
摘要: vue配置别名 vite.config.ts export default defineConfig( ... resolve:{ alias:{ "@":path.resolve(__dirname,"src"), "com":path.resolve(__dirname,"src/compone
阅读全文
posted @ 2024-06-25 04:48 Excel2016
阅读(110)
评论(0)
推荐(0)
2024年6月24日
VueX Vue: Could not find a declaration file for module vuex.
摘要: vuex4.0.2 webstorm报如下错误 Vue: Could not find a declaration file for module vuex. 解决办法 在src目录下新建一个vuex.d.ts 文件内容如下 declare module "vuex" { export * from
阅读全文
posted @ 2024-06-24 06:10 Excel2016
阅读(594)
评论(0)
推荐(0)
webstorm vue3+ts报错:Cannot find module ‘@/views/xxx.vue‘ or its corresponding type declarations
摘要: 意思是说找不到对应的模块“@/views/xxx.vue”或其相应的类型声明 因为ts只能解析 .ts 文件,无法解析 .vue文件 解决方法很简单,一开始的时候env.d.ts是空文件(如vite-env.d.ts),我们可以在项目的env.d.ts中引入如下代码: declare module
阅读全文
posted @ 2024-06-24 05:46 Excel2016
阅读(825)
评论(0)
推荐(0)
下一页
公告
点击右上角即可分享