Browse Source

Merge branch 'develop' of http://39.106.8.246:3003/web/wanda-editer into develop

YaolongHan 4 years ago
parent
commit
92f2cf2e7b
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/components/edit/attr_select.vue

+ 4 - 1
src/components/edit/attr_select.vue

@@ -78,6 +78,7 @@
         <div class="grid-content">
         <div class="grid-content">
           <a-upload-dragger
           <a-upload-dragger
             name="file"
             name="file"
+            accept="image/*"
             :customRequest="customRequest"
             :customRequest="customRequest"
             :showUploadList="false"
             :showUploadList="false"
             action="https://jsonplaceholder.typicode.com/posts/"
             action="https://jsonplaceholder.typicode.com/posts/"
@@ -680,10 +681,12 @@ export default {
     align-items: center;
     align-items: center;
     margin-top: 12px;
     margin-top: 12px;
     .color-choice {
     .color-choice {
+      width: 26px;
+      height: 26px;
       & /deep/ .vue-swatches__trigger {
       & /deep/ .vue-swatches__trigger {
         width: 26px !important;
         width: 26px !important;
         height: 26px !important;
         height: 26px !important;
-        border-radius: 0px !important;
+        border-radius: 2px !important;
       }
       }
     }
     }
     .row-tit {
     .row-tit {