记得上下班打卡 | git大法好,push需谨慎

Commit a8942549 authored by jiangxiulong's avatar jiangxiulong

banner 编辑url处理

parent 8d4960ba
......@@ -322,6 +322,8 @@
} else {
var urlVarName = 'url' + targetType;
var url = eval(urlVarName);
var arrEntities = {'lt':'<','gt':'>','nbsp':' ','amp':'&','quot':'"'};
url = url.replace(/&(lt|gt|nbsp|amp|quot);/ig,function(all,t){return arrEntities[t];});
// 获取相关数据
var configUrl = {
url: url,
......
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