\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_",[3097,3098,3099],{"name":3046,"color":3047},{"name":3032,"color":3033},{"name":3100,"color":3101},"priority/important-soon","eb6420",7274,"文章默认编辑器上传文件失败","2025-03-07T07:55:01Z","https://github.com/halo-dev/halo/issues/7274",0.67494947,{"description":3108,"labels":3109,"number":3112,"owner":3021,"repository":3022,"state":3052,"title":3113,"updated_at":3114,"url":3115,"score":3116},"### 系统信息\n\n- 外部访问地址: http://127.0.0.1:8090\r\n- 启动时间: 2024-09-20 10:33\r\n- 版本: 2.20.0-SNAPSHOT\r\n- 构建时间: 2024-09-20 10:33\r\n- Git Commit: 023ca1d\r\n- Java: OpenJDK Runtime Environment / 17.0.11+9-LTS\r\n- 数据库: PostgreSQL / 15.2 (Debian 15.2-1.pgdg110+1)\r\n- 操作系统: Mac OS X / 15.1\r\n- 已激活主题: [Earth 1.10.0](https://github.com/halo-dev/theme-earth)\r\n- 已启动插件:\r\n - [LDAP 认证 1.0.0-SNAPSHOT](https://www.halo.run/store/apps/app-vrSqF)\r\n - [Image Stream 1.0.0-SNAPSHOT](https://github.com/halo-sigs/plugin-image-stream)\r\n - [Unsplash 1.2.0-dev](https://github.com/halo-sigs/plugin-unsplash)\r\n - [OAuth2 认证 1.3.0](https://github.com/halo-sigs/plugin-oauth2)\n\n### 使用的哪种方式运行?\n\nDocker\n\n### 发生了什么?\n\n如图:\r\n\r\n\u003Cimg width=\"606\" alt=\"image\" src=\"https://github.com/user-attachments/assets/a9cd6dda-1d18-4b6f-b1e6-7e3f9bc14306\">\r\n\r\n/kind bug\r\n/area ui\r\n/milestone 2.20.x\r\n\n\n### 复现步骤\n\n_No response_\n\n### 相关日志输出\n\n_No response_\n\n### 附加信息\n\n_No response_",[3110,3111],{"name":3046,"color":3047},{"name":3049,"color":3050},6681,"FormKit Code 当只有一行时,全屏按钮有样式问题。","2024-10-08T15:01:58Z","https://github.com/halo-dev/halo/issues/6681",0.6817411,{"description":3118,"labels":3119,"number":3126,"owner":3021,"repository":3022,"state":3052,"title":3127,"updated_at":3128,"url":3129,"score":3130},"### 系统信息\n\n在设置界面创建的文章就可以粘贴图片,而在用户界面创建的文章粘贴图片就报错\r\n\u003Cimg width=\"1514\" alt=\"iShot_2023-12-11_23 32 42\" src=\"https://github.com/halo-dev/halo/assets/45820964/5d0aa5c2-03b8-4f5e-9951-427d85e40426\">\r\n\u003Cimg width=\"1602\" alt=\"iShot_2023-12-11_23 37 01\" src=\"https://github.com/halo-dev/halo/assets/45820964/026a283e-47c9-4365-90be-482e6299252c\">\r\n\n\n### 使用的哪种方式运行?\n\nDocker\n\n### 在线站点地址\n\nhttps://demo.halo.run/\n\n### 发生了什么?\n\n在设置界面创建的文章就可以粘贴图片,而在用户界面创建的文章粘贴图片就报错\r\n\u003Cimg width=\"1514\" alt=\"iShot_2023-12-11_23 32 42\" src=\"https://github.com/halo-dev/halo/assets/45820964/5d0aa5c2-03b8-4f5e-9951-427d85e40426\">\r\n\u003Cimg width=\"1602\" alt=\"iShot_2023-12-11_23 37 01\" src=\"https://github.com/halo-dev/halo/assets/45820964/026a283e-47c9-4365-90be-482e6299252c\">\n\n### 相关日志输出\n\n```shell\n在设置界面创建的文章就可以粘贴图片,而在用户界面创建的文章粘贴图片就报错\r\n\u003Cimg width=\"1514\" alt=\"iShot_2023-12-11_23 32 42\" src=\"https://github.com/halo-dev/halo/assets/45820964/5d0aa5c2-03b8-4f5e-9951-427d85e40426\">\r\n\u003Cimg width=\"1602\" alt=\"iShot_2023-12-11_23 37 01\" src=\"https://github.com/halo-dev/halo/assets/45820964/026a283e-47c9-4365-90be-482e6299252c\">\n```\n\n\n### 附加信息\n\n_No response_",[3120,3121,3124],{"name":3046,"color":3047},{"name":3122,"color":3123},"help wanted","006b75",{"name":3125,"color":3033},"area/console",5035,"编辑粘贴图片BUG","2023-12-27T03:50:11Z","https://github.com/halo-dev/halo/issues/5035",0.68191075,["Reactive",3132],{},["Set"],["ShallowReactive",3135],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f2Q97Yol9GYRKPfEmDgRtT5UnwIWqXacWfjtJOFDhcbI":-1},"/halo-dev/halo/6391"]