Pārlūkot izejas kodu

feat:分类表格异常

wangshan 3 gadi atpakaļ
vecāks
revīzija
5eeffa57fd
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  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 == ""){