Hwf пре 4 месеци
родитељ
комит
5547edb8c4
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/components/FileUpload/index.vue

+ 1 - 1
src/components/FileUpload/index.vue

@@ -17,7 +17,7 @@
         class="upload-file-uploader"
       >
         <!-- 上传按钮 -->
-        <el-button v-if="!$slots.default()" type="primary">
+        <el-button v-if="!$slots.default" type="primary">
           <div class="button-flex">
             <i class="upload-icon" />
             {{ buttonText }}