yusheng hace 11 meses
padre
commit
66035d4f85
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      src/components/addDoc/index.vue

+ 5 - 0
src/components/addDoc/index.vue

@@ -6,6 +6,7 @@
         v-if="type != 'view'"
         type="primary"
         @click="handleUpload"
+        :size="size"
       >
         上传</el-button
       >
@@ -43,6 +44,10 @@
         default: () => {
           return [];
         }
+      },
+      size: {
+        type: String,
+        default: 'mini'
       }
     },
     data() {