change name

This commit is contained in:
呱呱呱 2023-11-08 16:28:45 +08:00
parent fcea1193b9
commit 7fb462d2db
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)