Browse Source

upd(uploader): docs & tips style

richard1015 4 years ago
parent
commit
aa30220d95
2 changed files with 3 additions and 0 deletions
  1. 2 0
      src/packages/uploader/doc.md
  2. 1 0
      src/packages/uploader/index.scss

+ 2 - 0
src/packages/uploader/doc.md

@@ -21,6 +21,8 @@ app.use(Uploader);
 
 ``` html
 <nut-uploader url="http://服务器地址"></nut-uploader>
+```
+
 ### 直接调起摄像头
     
 ``` html

+ 1 - 0
src/packages/uploader/index.scss

@@ -48,6 +48,7 @@
         bottom: 0;
         left: 0;
         right: 0;
+        text-align: center;
         font-size: 12px;
         color: $white;
         height: 30px;