Ver código fonte

feat:当前位置调整

fuwencai 2 anos atrás
pai
commit
5b2e213aa2
1 arquivos alterados com 2 adições e 2 exclusões
  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