Преглед изворни кода

Merge branch 'iteration-20250313'

lex-xin пре 2 месеци
родитељ
комит
3db44cbe06
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;