Commit 6507b0a4 authored by liuqiao's avatar liuqiao

src的值不以http开头 直接返回

parent aba868d7
......@@ -332,7 +332,9 @@ foreach($arr_sort as $key=>$sort) { ?>
function addImageNew(src, upload_infotype, upload_nail) {
// src的值不以http开头 返回
const httpPosition = src.indexOf('http');
if (httpPosition !== 0) return;
var oSwfu = upload_infotype == 0 ? swfu0 : (upload_infotype == 1 ? swfu1 : swfu2);
if (src != '' && src != '0')
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment