Merge pull request '调整方法名 mp_color - pm_color' (#191) from KingChan/forgeplus:pm_project_develop into pm_project_develop

This commit is contained in:
KingChan 2023-11-08 16:30:48 +08:00
commit 2cb7a1cf7e
4 changed files with 4 additions and 4 deletions

View File

@ -39,7 +39,7 @@ class IssuePriority < ApplicationRecord
end
end
def mp_color
def pm_color
case name
when '低'
'#13b33e'

View File

@ -51,7 +51,7 @@ class IssueStatus < ApplicationRecord
end
end
def mp_color
def pm_color
case name
when '新增'
'#ff6f00'

View File

@ -1 +1 @@
json.(priority, :id, :name,:mp_color)
json.(priority, :id, :name,:pm_color)

View File

@ -1 +1 @@
json.(status, :id, :name, :mp_color)
json.(status, :id, :name, :pm_color)