From 88aeadfc5c1ed9455fdf524cfaecd06bb489bf27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Thu, 6 Jul 2023 10:11:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E6=9D=83=E4=BA=A4=E6=98=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/project/user/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/static/js/project/user/index.js b/static/js/project/user/index.js index 0f6cfbe..57e50f8 100644 --- a/static/js/project/user/index.js +++ b/static/js/project/user/index.js @@ -470,13 +470,13 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", if(type == 'user'||type == 'company'){ if(module.data.memberType == '1'){ $('#cupload-3').find('input').each(function() { - if($(this).val()!=''&&$(this).val().indexOf('http') == -1){ + if($(this).val()!=''&&$(this).val().indexOf('/api') == -1){ module.data.upType1 = true; tools.doPostImg(base64Upload, {file:$(this).val()}, module.upLoadOverInfo1); } }) $('#cupload-4').find('input').each(function() { - if($(this).val()!=''&&$(this).val().indexOf('http') == -1){ + if($(this).val()!=''&&$(this).val().indexOf('/api') == -1){ module.data.upType2 = true; tools.doPostImg(base64Upload, {file:$(this).val()}, module.upLoadOverInfo2); } @@ -488,19 +488,19 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", }else{ $('#cupload-5').find('input').each(function() { - if($(this).val()!=''&&$(this).val().indexOf('http') == -1){ + if($(this).val()!=''&&$(this).val().indexOf('/api') == -1){ module.data.upType5 = true; tools.doPostImg(base64Upload, {file:$(this).val()}, module.upLoadOverInfo5); } }) $('#cupload-6').find('input').each(function() { - if($(this).val()!=''&&$(this).val().indexOf('http') == -1){ + if($(this).val()!=''&&$(this).val().indexOf('/api') == -1){ module.data.upType6 = true; tools.doPostImg(base64Upload, {file:$(this).val()}, module.upLoadOverInfo6); } }) $('#cupload-7').find('input').each(function() { - if($(this).val()!=''&&$(this).val().indexOf('http') == -1){ + if($(this).val()!=''&&$(this).val().indexOf('/api') == -1){ module.data.upType7 = true; tools.doPostImg(base64Upload, {file:$(this).val()}, module.upLoadOverInfo7); }