Sfoglia il codice sorgente

'显示问题修改'

zhangyu 4 anni fa
parent
commit
89542d1418
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  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">
           <a-upload-dragger
             name="file"
+            accept="image/*"
             :customRequest="customRequest"
             :showUploadList="false"
             action="https://jsonplaceholder.typicode.com/posts/"
@@ -680,10 +681,12 @@ export default {
     align-items: center;
     margin-top: 12px;
     .color-choice {
+      width: 26px;
+      height: 26px;
       & /deep/ .vue-swatches__trigger {
         width: 26px !important;
         height: 26px !important;
-        border-radius: 0px !important;
+        border-radius: 2px !important;
       }
     }
     .row-tit {