fix error

This commit is contained in:
BOYA,CHIU 2021-08-04 12:50:57 +08:00
parent 690cfe2707
commit e6429a8ea1
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class RulingBusInfo
field :hint, type: String, default: "", localize: true
def locale
self.locale || I18n.locale.to_s.capitalize
super() || I18n.locale.to_s.capitalize
end
def monitor_point_show(locale=nil)
locale = self.class.get_locale if locale.nil?