feat(extensions): 新增系统工具页面与前台投稿分片上传
This commit is contained in:
1 parent
613b8a57a3
commit
b75bf197a3
25 files changed
+1982
-58
No files matched your search
@@ -238,8 +238,6 @@ export const permissionsSchemas = {
|
||||
{ type: 'admin', pattern: 'allow', val: 'svg=image/svg+xml' },
|
||||
{ type: 'all', pattern: 'allow', val: '' },
|
||||
],
|
||||
newfilename: false,
|
||||
newfilename_type: 'time',
|
||||
},
|
||||
groups: [
|
||||
{
|
||||
@@ -314,26 +312,6 @@ export const permissionsSchemas = {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 'behavior',
|
||||
title: '上传行为',
|
||||
icon: 'fa fas fa-cogs',
|
||||
fields: [
|
||||
{ key: 'newfilename', label: '上传文件自动重命名', type: 'switch', help: '开启后上传文件按规则重命名,减少重名文件查询,提高上传效率。' },
|
||||
{
|
||||
key: 'newfilename_type',
|
||||
label: '重命名格式',
|
||||
type: 'radio',
|
||||
buttonStyle: false,
|
||||
default: 'time',
|
||||
dependsOn: { key: 'newfilename', value: true },
|
||||
options: [
|
||||
{ label: '时间 + 原文件名', value: 'time' },
|
||||
{ label: '随机字符串', value: 'random' },
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user