前端的修复及文件下载后缀的扩展

This commit is contained in:
sylor_huang@126.com 2020-04-20 17:34:53 +08:00
parent 48f8ce5581
commit 7bf539546c
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ module RepositoriesHelper
end
def download_type(str)
default_type = %w(xlsx xls ppt pptx pdf zip 7z rar exe)
default_type = %w(xlsx xls ppt pptx pdf zip 7z rar exe pdb obj idb)
default_type.include?(str)
end
end