maxiaoshan 3 years ago
parent
commit
27c5c9e77c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/front/front.go

+ 1 - 1
src/front/front.go

@@ -974,7 +974,7 @@ func (f *Front) SpiderCopy() {
 				lua["param_common"] = param_common
 			}
 			str_list := qu.ObjToString(lua["str_list"])
-			lua["str_list"] = strings.ReplaceAll(str_content, codeOld, codeNew)
+			lua["str_list"] = strings.ReplaceAll(str_list, codeOld, codeNew)
 			lua["comeintime"] = time.Now().Unix()
 			lua["modifytime"] = time.Now().Unix()
 			lua["spidertype"] = "increment"