Skip to content

Commit

Permalink
fix: countup 修复
Browse files Browse the repository at this point in the history
  • Loading branch information
Ymm0008 committed Jan 9, 2023
1 parent ece78ff commit f35ef04
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/packages/__VUE/countup/demo.vue
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<template>
<div class="demo">
<!-- <h2>{{ translate('basic') }}</h2>
<h2>{{ translate('basic') }}</h2>
<div class="show-demo">
<nut-countup :init-num="0" :end-num="200"></nut-countup>
<nut-countup :init-num="150.0" :end-num="0.0" :speed="6.18" :to-fixed="2"></nut-countup>
<nut-countup :init-num="500.0" :end-num="0.0" :speed="50" :to-fixed="2"></nut-countup>
</div> -->
</div>
<h2>{{ translate('title') }}</h2>
<div class="show-demo">
<nut-countup :scrolling="true" :init-num="18.618" :during="600"></nut-countup>
</div>
<!-- <h2>{{ translate('title1') }}</h2>
<h2>{{ translate('title1') }}</h2>
<div class="show-demo">
<nut-countup
:custom-change-num="customNumber"
Expand Down Expand Up @@ -42,7 +42,7 @@
<nut-button type="danger" @click="startRole" :disabled="startFlag">{{ translate('btn1') }}</nut-button>
<nut-button type="danger" @click="startRole2" :disabled="startFlag">{{ translate('btn2') }}</nut-button>
</div>
</div> -->
</div>
</div>
</template>

Expand Down

0 comments on commit f35ef04

Please sign in to comment.