forked from jasder/forgeplus
修改工单的评论修改内容后显示记录的问题
This commit is contained in:
parent
d368244d22
commit
cf27fe8839
|
@ -19,6 +19,7 @@ class Journal < ApplicationRecord
|
|||
details = self.journal_details.select(:property, :prop_key, :old_value, :value).pluck(:property, :prop_key, :old_value, :value)
|
||||
if details.size > 0
|
||||
details.each do |de|
|
||||
unless de[1] == "description"
|
||||
if de[0] == "attr"
|
||||
content = ""
|
||||
else
|
||||
|
@ -143,6 +144,7 @@ class Journal < ApplicationRecord
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
send_details
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue