mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-09 23:49:27 +08:00
Merge branch 'next' into develop
This commit is contained in:
commit
dad5bf37c0
@ -21,6 +21,7 @@ export default defineCollection({
|
|||||||
type: 'string',
|
type: 'string',
|
||||||
name: 'title',
|
name: 'title',
|
||||||
translation: true,
|
translation: true,
|
||||||
|
trim: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '英文标识',
|
title: '英文标识',
|
||||||
@ -28,6 +29,7 @@ export default defineCollection({
|
|||||||
type: 'uid',
|
type: 'uid',
|
||||||
name: 'name',
|
name: 'name',
|
||||||
unique: true,
|
unique: true,
|
||||||
|
trim: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
comment: '类型标识,如 local/ali-oss 等',
|
comment: '类型标识,如 local/ali-oss 等',
|
||||||
@ -51,12 +53,14 @@ export default defineCollection({
|
|||||||
type: 'text',
|
type: 'text',
|
||||||
name: 'path',
|
name: 'path',
|
||||||
defaultValue: '',
|
defaultValue: '',
|
||||||
|
trim: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
comment: '访问地址前缀',
|
comment: '访问地址前缀',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
name: 'baseUrl',
|
name: 'baseUrl',
|
||||||
defaultValue: '',
|
defaultValue: '',
|
||||||
|
trim: true,
|
||||||
},
|
},
|
||||||
// TODO(feature): 需要使用一个实现了可设置默认值的字段
|
// TODO(feature): 需要使用一个实现了可设置默认值的字段
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user