Эх сурвалжийг харах

Merge branch 'cygx_12.0.1' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai 1 жил өмнө
parent
commit
c581ed1649

+ 1 - 1
controllers/yanxuan_special.go

@@ -604,7 +604,7 @@ func (this *YanxuanSpecialController) Center() {
 		if err != nil {
 			return
 		}
-		if hasStyle || len(v.Docs) > 0 || hasImg {
+		if hasStyle || strings.Contains(v.DocUrl, "http") || hasImg {
 			v.ContentHasStyle = true
 		}
 	}