yusheng hai 1 ano
pai
achega
66035d4f85
Modificáronse 1 ficheiros con 5 adicións e 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'"
         v-if="type != 'view'"
         type="primary"
         type="primary"
         @click="handleUpload"
         @click="handleUpload"
+        :size="size"
       >
       >
         上传</el-button
         上传</el-button
       >
       >
@@ -43,6 +44,10 @@
         default: () => {
         default: () => {
           return [];
           return [];
         }
         }
+      },
+      size: {
+        type: String,
+        default: 'mini'
       }
       }
     },
     },
     data() {
     data() {