laboratory setting

competitions
p31729568 5 years ago
parent 21e6ca80e1
commit 2d4fb385cf

@ -34,7 +34,7 @@ class LaboratorySetting < ApplicationRecord
def logo_url(type)
return nil unless Util::FileManage.exists?(self, type)
Util::FileManage.source_disk_file_url(self, type)
Util::FileManage.source_disk_file_url(self, type)[1..-1] # 前端不兼容带 / 的
end
def self.default_config

Loading…
Cancel
Save