소스 검색

上传组件

DESKTOP-O04BTUJ\muzen 2 년 전
부모
커밋
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) {