Browse Source

Merge branch 'v2' of https://github.com/jdf2e/nutui into v2

lilinsen 7 years ago
parent
commit
bacbdb3c87
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/packages/backtop/doc.md

+ 4 - 4
src/packages/backtop/doc.md

@@ -41,21 +41,21 @@ export default {
 
 
 ## 设置样式
 ## 设置样式
 ```html
 ```html
-<nut-switch 
+<nut-backtop 
   :bottom="20"
   :bottom="20"
   :right="20"
   :right="20"
   :zIndex="10"
   :zIndex="10"
 >
 >
-</nut-switch>
+</nut-backtop>
 ```
 ```
 
 
 
 
 ## 设置动画持续时间
 ## 设置动画持续时间
 ```html
 ```html
-<nut-switch 
+<nut-backtop 
   :duration="1000"  
   :duration="1000"  
 >
 >
-</nut-switch>
+</nut-backtop>
 ```
 ```