From 7fe5fb39e00749e4e412ced5703a61036752c874 Mon Sep 17 00:00:00 2001
From: zmk <496160012@qq.com>
Date: 星期二, 25 六月 2024 18:49: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