Przeglądaj źródła

Update index.tsx

lex-xin 2 miesięcy temu
rodzic
commit
9b176ed013
1 zmienionych plików z 1 dodań i 1 usunięć
  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;