no message
Former-commit-id: de9fc7ee6ce7d2874bedb5d51fd2997f52870126 Former-commit-id: 70cb9e2b35ef7a76a62dc085aeb77eb914bc42ab Former-commit-id: 47e9746d0a0fd6d32e798a0f6fbd684c8b555f09
This commit is contained in:
@@ -15,13 +15,13 @@
|
||||
|
||||
``` vue
|
||||
// 基本使用方法
|
||||
<CountUp :end="100"></CountUp>
|
||||
<d2-count-up :end="100"></d2-count-up>
|
||||
|
||||
// 设置始末值
|
||||
<CountUp :start="14" :end="100"></CountUp>
|
||||
<d2-count-up :start="14" :end="100"></d2-count-up>
|
||||
|
||||
// 设置动画时间
|
||||
<CountUp :end="100" :decimals="2"></CountUp>
|
||||
<d2-count-up :end="100" :decimals="2"></d2-count-up>
|
||||
```
|
||||
|
||||
组件会在页面上渲染 `<span>` 标签
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
## 示例
|
||||
|
||||
``` vue
|
||||
<Highlight code="alert('Hello')"></Highlight>
|
||||
<d2-highlight code="alert('Hello')"></d2-highlight>
|
||||
```
|
||||
|
||||
::: tip
|
||||
|
||||
Reference in New Issue
Block a user