lex-xin 2 месяцев назад
Родитель
Сommit
9b176ed013
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/pc/home/index.tsx

+ 1 - 1
src/pc/home/index.tsx

@@ -1967,7 +1967,7 @@ export default defineComponent({
         const file = e.target.files[0];
         if (val === "xml") {
           const size = file.size || 0
-          const isLt2M = size / 1024 / 1024 < 6;
+          const isLt2M = size / 1024 / 1024 < 3;
           if (!isLt2M) {
             message.error(`文件大小不能超过6M`);
             data.loadingAudioSrouce2 = false;