适配新的配置文件
This commit is contained in:
parent
b638b5ba5b
commit
25191da5fa
1 changed files with 11 additions and 1 deletions
|
@ -85,7 +85,17 @@
|
|||
</el-descriptions-item>
|
||||
<el-descriptions-item label="允许不同IP下载">
|
||||
<el-tag :type="config.Security.allowDifferentIPsForDownload ? 'success' : 'danger'">
|
||||
{{ config.Security.allowDifferentIPsForDownload ? '是' : '否' }}
|
||||
{{ config.Security.allowDifferentIPsForDownload ? '允许' : '禁止' }}
|
||||
</el-tag>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="启用用户注册">
|
||||
<el-tag :type="config.Security.enableUserRegistration ? 'success' : 'danger'">
|
||||
{{ config.Security.enableUserRegistration ? '允许' : '禁止' }}
|
||||
</el-tag>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="动态大小文件下载">
|
||||
<el-tag :type="config.Security.allowStreamTransferOrZeroSize ? 'success' : 'danger'">
|
||||
{{ config.Security.allowStreamTransferOrZeroSize ? '允许' : '禁止' }}
|
||||
</el-tag>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
|
|
Loading…
Reference in a new issue