Selaa lähdekoodia

docs: fix el-backtop prop type error in component.tpl (#15739)

Simona 6 vuotta sitten
vanhempi
commit
13cefb30ef
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      examples/pages/template/component.tpl

+ 2 - 2
examples/pages/template/component.tpl

@@ -141,8 +141,8 @@
     <el-backtop 
       v-if="showBackToTop"
       target=".page-component__scroll .el-scrollbar__wrap"
-      right="100"
-      bottom="150"
+      :right="100"
+      :bottom="150"
     ></el-backtop>
   </div>
   </el-scrollbar>