Explorar o código

feat:分类表格异常

wangshan %!s(int64=3) %!d(string=hai) anos
pai
achega
5eeffa57fd
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      src/web/templates/pc/classifylist.html

+ 4 - 1
src/web/templates/pc/classifylist.html

@@ -989,7 +989,10 @@ function appendDatas(datas){
 		var index = i + 1;
 		var title = datas[i].title;
 		var detail = datas[i].detail;
-		var href = datas[i].href.replace(/\n/g,"");
+		//var href = "";
+    //if (datas[i].href){
+    //  href = datas[i].href.replace(/\n/g,"");
+    //}
 		var aHref = '/article/content/'+datas[i]._id+'.html';
 		var type = datas[i].subtype;
 		if(typeof(type) == "undefined" || type == null || type == ""){