This repository has been archived by the owner on Jan 21, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: improve the prompt for upload failure of the upload component (#…
…769) #### What type of PR is this? /kind improvement #### What this PR does / why we need it: 优化上传组件的异常提示信息。 #### Which issue(s) this PR fixes: Fixes halo-dev/halo#2933 Ref halo-dev/halo#2932 halo-dev/halo#2931 #### Screenshots: <img width="794" alt="image" src="https://user-images.githubusercontent.com/21301288/207272593-b94efb0a-7033-4ec1-b1eb-f2e3871b34f0.png"> <img width="674" alt="image" src="https://user-images.githubusercontent.com/21301288/207272682-0c223d29-8c4f-45b0-a8d5-2432a97835c6.png"> #### Special notes for your reviewer: 测试方式: 1. 进入附件上传、插件安装、主题安装界面。 2. 上传不符合规则的文件,比如主题可以上传一个不是主题的 zip 或者 Halo 1.x 版本的 zip。 3. 观察是否有异常提示。 #### Does this PR introduce a user-facing change? ```release-note 优化 Console 端上传组件的异常提示信息。 ```
- Loading branch information
101e91a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ui – ./
halo-admin-ui.vercel.app
ui-halo-dev.vercel.app
ui-git-main-halo-dev.vercel.app