From 38d860385dc235e91f68a1d2cfca378c3b603288 Mon Sep 17 00:00:00 2001 From: yystopf Date: Thu, 9 Jan 2025 14:45:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8A=A8=E6=80=81=E6=96=87=E6=A1=88?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/journal.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/journal.rb b/app/models/journal.rb index fe077ae66..196a76165 100644 --- a/app/models/journal.rb +++ b/app/models/journal.rb @@ -114,7 +114,7 @@ class Journal < ApplicationRecord prefix += "任务" if self.issue.pm_issue_type == 2 prefix += "缺陷" if self.issue.pm_issue_type == 3 prefix += "#{self.issue.subject}" - content = prefix + content + content = prefix + content.sub('将', '的') end content end