瀏覽代碼

Merge branch 'dev/v4.8.47_fuwencai' of qmx/jy into feature/v4.8.47

fuwencai 2 年之前
父節點
當前提交
15e1d38dee
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/jfw/modules/app/src/app/front/tags.go

+ 2 - 2
src/jfw/modules/app/src/app/front/tags.go

@@ -150,8 +150,8 @@ onceAgain:
 						tg.T["cityList"] = jyutil.AreaToCity[codes[0]]
 					}
 					if len(currentLocation) > 0 {
-						for _, cv := range currentLocation {
-							cv.Name = fmt.Sprintf("%s%s", cv.Name, "招标网")
+						for i := 0; i < len(currentLocation); i++ {
+							currentLocation[i].Name = fmt.Sprintf("%s%s", currentLocation[i].Name, "招标网")
 						}
 					}
 					biddingInfo.Total = 8