🔥 feat(design): Add Modal.Progress component #97
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Motivation
用户提交任务后,系统需要一段时间执行某类任务后,才会反馈任务结果,如集群创建的预检查场景。
Design Guide
任务耗时建议不超过1分钟,若任务耗时较长建议采用页面内置步骤或异步任务方式并使用全局同时告知用户任务提交成功和预计耗时等。使用注意点:
Detailed Design
loading
progress
description
API
{ type: 'circle', size: 150 }
Basic Example
progress.percent
:progress.status
:loading
:Advanced Usage
Tests