浏览代码

feat:当前位置调整

fuwencai 2 年之前
父节点
当前提交
5b2e213aa2
共有 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