From 18c509d71b6b382aa2bf846ba7c9b6d64ade1182 Mon Sep 17 00:00:00 2001 From: suerwei <18810552194@163.com> Date: 星期二, 02 七月 2024 14:39:02 +0800 Subject: [PATCH] 加上传扫描 --- javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectData/upload.html | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectData/upload.html b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectData/upload.html index b02bb26..3f39655 100644 --- a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectData/upload.html +++ b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectData/upload.html @@ -13,7 +13,6 @@ <form id="formId" enctype="multipart/form-data"> <div class="select-list"> <ul> - <li> <p>涓婁紶鏂囦欢锛�</p> <input type="file" id="file" name="file"/> @@ -43,7 +42,7 @@ function upload(){ var file = $('#file').val(); - if (file == '' || (!$.common.endWith(file, '.zip'))){ + if (file == ''|| file ==null){ $.modal.msgWarning("璇烽�夋嫨寰呬笂浼犵殑鏂囦欢"); return false; } -- Gitblit v1.9.1