Karsa 1 год назад
Родитель
Сommit
462a9abd99
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/views/dataEntry_manage/components/insertData.vue

+ 1 - 0
src/views/dataEntry_manage/components/insertData.vue

@@ -130,6 +130,7 @@ export default {
       }
       }
       if (size > 10) {
       if (size > 10) {
         this.$message.warning("文件大小不得超过10M");
         this.$message.warning("文件大小不得超过10M");
+        return false;
       }
       }
     },
     },
     handleStarting() {
     handleStarting() {