\n\n这个问题可能与 #7149 的修复有关。文件中通过 `file.name()` 获取文件名。建议通过 `FilePart` 的 `filename()` 获取文件名。\n\n/area core\n/kind bug\n\n### 复现步骤\n\n_No response_\n\n### 相关日志输出\n\n```shell\n\n```\n\n### 附加信息\n\n_No response_",[2962,2963,2964],{"name":2868,"color":2869},{"name":2886,"color":2887},{"name":2965,"color":2966},"priority/important-soon","eb6420",7274,"文章默认编辑器上传文件失败","2025-03-07T07:55:01Z","https://github.com/halo-dev/halo/issues/7274",0.5852103,{"description":2973,"labels":2974,"number":2977,"owner":2874,"repository":2875,"state":2889,"title":2978,"updated_at":2979,"url":2980,"score":2981},"### 系统信息\n\n- 外部访问地址: https://ryanc.cc\r\n- 启动时间: 2024-05-29 18:28\r\n- 版本: 2.16.0-SNAPSHOT\r\n- 构建时间: 2024-05-29 17:00\r\n- Git Commit: f87e789\r\n- Java: IBM Semeru Runtime Open Edition / 21.0.2+13-LTS\r\n- 数据库: PostgreSQL / 16.3 (Debian 16.3-1.pgdg120+1)\r\n- 操作系统: Linux / 5.15.0-88-generic\r\n- 已激活主题: [Walker 1.8.1](https://www.halo.run/store/apps/app-GHgAR)\r\n- 已启动插件:\r\n - [静态网页服务 1.0.0-alpha.1](https://github.com/ruibaby/plugin-static-pages)\r\n - [SEO 工具集 1.0.5](https://www.halo.run/store/apps/app-FNGbT)\r\n - [Media Optimizer 1.1.0](https://github.com/guqing/plugin-cloudinary)\r\n - [Markdown / HTML 内容块 1.2.0](https://github.com/halo-dev/plugin-hybrid-edit-block)\r\n - [应用市场 1.2.0](https://www.halo.run/store/apps/app-VYJbF)\r\n - [RSS 1.2.2](https://github.com/halo-dev/plugin-feed)\r\n - [搜索组件 1.4.0](https://github.com/halo-dev/plugin-search-widget)\r\n - [图库管理 1.3.0](https://github.com/halo-sigs/plugin-photos)\r\n - [对象存储(Amazon S3 协议) 1.9.1](https://github.com/halo-dev/plugin-s3)\r\n - [增强备份(Backup IMproved) 1.1.1](https://www.halo.run/store/apps/app-dHakX)\r\n - [highlight.js 代码高亮 1.2.1](https://github.com/halo-sigs/plugin-highlightjs)\r\n - [lightgallery.js 灯箱 1.2.0](https://github.com/halo-sigs/plugin-lightgallery)\r\n - [Sitemap 1.1.1](https://github.com/halo-dev/plugin-sitemap)\r\n - [Umami 1.2.0](https://github.com/halo-sigs/plugin-umami)\r\n - [OAuth2 认证 1.1.1](https://github.com/halo-sigs/plugin-oauth2)\r\n - [瞬间 1.6.1](https://github.com/halo-sigs/plugin-moments)\r\n - [链接管理 1.3.3](https://github.com/halo-sigs/plugin-links)\r\n - [评论组件 2.2.0](https://github.com/halo-dev/plugin-comment-widget)\n\n### 使用的哪种方式运行?\n\nDocker\n\n### 发生了什么?\n\n如图:\r\n\r\n\r\n\r\n在之前的版本中,安装插件或者主题时,如果遇到已安装插件和主题会引导升级。目前 Halo 2.16.0-rc.1 已经不符合预期,期望恢复之前的表现。\r\n\r\n/kind bug\r\n/area ui\r\n/milestone 2.16.x\n\n### 相关日志输出\n\n_No response_\n\n### 附加信息\n\n_No response_",[2975,2976],{"name":2868,"color":2869},{"name":2911,"color":2912},6014,"安装插件和主题时,如果已存在,不会提示升级","2024-05-30T07:11:48Z","https://github.com/halo-dev/halo/issues/6014",0.59075403,["Reactive",2983],{},["Set"],["ShallowReactive",2986],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fv9clU2YcEWEmTy2Dg9T9bLxSpQrMvYWvfuFJDunR1OQ":-1},"/halo-dev/halo/6910"]