Explorar o código

Update index.tsx

lex-xin hai 2 meses
pai
achega
9b176ed013
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;