Browse Source

本地上传只保留按钮

zq 2 days ago
parent
commit
281bb6d523

+ 3 - 1
src/views/book/courseware/create/components/base/common/UploadFile.vue

@@ -5,6 +5,7 @@
       <div class="upload-box">
         <!-- style="pointer-events: none;" -->
         <el-upload
+          v-show="false"
           ref="upload"
           class="file-uploader"
           action="no"
@@ -624,7 +625,8 @@ export default {
 
   .upload-box {
     display: flex;
-    justify-content: space-between;
+
+    // justify-content: space-between;
 
     .el-button + .el-button {
       margin-left: 2px;