DESKTOP-O04BTUJ\muzen 2 лет назад
Родитель
Сommit
28e6870f50
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/components/Upload/index.vue

+ 1 - 0
src/components/Upload/index.vue

@@ -119,6 +119,7 @@ export default {
   methods: {
     // 上传之前
     async beforeUpload(file) {
+      this.btnType = 'primary'
       if (this.measure || this.size) {
         await this.measureChecked(file).then((res) => {
           if (res) {