u
This commit is contained in:
1 parent
e99a9fb274
commit
0be0b0767a
788 files changed
+112023
-14941
No files matched your search
@@ -20,12 +20,12 @@ async function run(duration: number, target: typeof fastLoading) {
|
||||
<G3Button size="small" type="outline" @click="run(1500, slowLoading)">1500ms 请求</G3Button>
|
||||
</G3Space>
|
||||
|
||||
<G3Spin :spinning="fastLoading" :delay="400" description="fast">
|
||||
<div class="box">短请求:因为 delay=400ms,全程不会闪出加载态</div>
|
||||
<G3Spin :spinning="fastLoading" :delay="400">
|
||||
<div class="box">内容区域</div>
|
||||
</G3Spin>
|
||||
|
||||
<G3Spin :spinning="slowLoading" :delay="400" description="slow">
|
||||
<div class="box">长请求:超过 400ms 后才显示加载态</div>
|
||||
<G3Spin :spinning="slowLoading" :delay="400">
|
||||
<div class="box">内容区域</div>
|
||||
</G3Spin>
|
||||
</G3Space>
|
||||
</template>
|
||||
|
||||
Reference in new issue
Block a user