Przeglądaj źródła

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

fuwencai 2 lat temu
rodzic
commit
15e1d38dee
1 zmienionych plików z 2 dodań i 2 usunięć
  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