From 3980b7b055eb1d790a5fe1f588a1a6441fc50472 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 28 十月 2024 18:31:47 +0800
Subject: [PATCH] 12.学生列表中的添加学生 14.题目难度导入 17.建议时长

---
 src/components/UploadC.vue |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/components/UploadC.vue b/src/components/UploadC.vue
index 3c60774..c34b1b1 100644
--- a/src/components/UploadC.vue
+++ b/src/components/UploadC.vue
@@ -41,7 +41,7 @@
   },
   data () {
     return {
-      uploadUrl: 'https://ycl.easyblog.vip:81/api/upload/upload',
+      uploadUrl: '/api/upload/upload',
       fileTypeList: {
         'video': ['mp4', 'avi', 'webm'],
         'img': ['jpg', 'png', 'jpeg'],
@@ -50,14 +50,13 @@
         'excel': ['xlsx', 'xls'],
         'audio': ['mp3'],
         'ppt': ['ppt', 'pptx'],
-        'file': ['doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx', 'txt', 'png', 'jpg', 'jpeg', 'pdf'],
+        'file': ['doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx', 'txt', 'png', 'jpg', 'jpeg', 'pdf']
       }
     }
   },
   methods: {
     clearFile () {
       this.fileUrl = []
-
     },
     beforeRemove (file, fileList) {
       if (file && file.status === 'success') {
@@ -94,7 +93,7 @@
         this.$message.error(`涓婁紶鏂囦欢澶у皬涓嶈兘瓒呰繃 ${this.fileSizeLimitM}MB!`)
       }
       return limitType && limit
-    },
+    }
   },
   computed: {
     acceptList () {

--
Gitblit v1.8.0