mirror of
https://github.com/steedos/steedos-platform
synced 2024-11-23 17:42:48 +00:00
fix: 对象设计器存储相关字段异常.
This commit is contained in:
parent
91da76433b
commit
80be0ee050
@ -11,7 +11,7 @@
|
||||
"author": "steedos",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@steedos-builder/amis-editor": "6.3.0-beta.12",
|
||||
"@steedos-builder/amis-editor": "6.3.0-beta.13",
|
||||
"@steedos/ee_sso-oidc": "2.7.10-beta.11",
|
||||
"@steedos/service-analytics": "2.7.10-beta.11",
|
||||
"@steedos/service-ancillary": "2.7.10-beta.11",
|
||||
|
@ -345,7 +345,7 @@ module.exports = {
|
||||
visible_on: group.visible_on,
|
||||
body: _.map(items, (field)=>{
|
||||
return {
|
||||
type: `sfield-${field.type}`,
|
||||
type: `sfield-${_.camelCase(field.type).toLowerCase()}`,
|
||||
config: Object.assign({amis: {name: field.name}}, field)
|
||||
}
|
||||
})
|
||||
@ -505,7 +505,7 @@ module.exports = {
|
||||
}
|
||||
// 循环需要删除的字段
|
||||
for (const fieldName of deleteFields) {
|
||||
const field = _.find(dbFields, { name: fieldName })._id;
|
||||
const field = _.find(dbFields, { name: fieldName });
|
||||
try {
|
||||
const id = field._id;
|
||||
await object_fields.directDelete(id);
|
||||
|
Loading…
Reference in New Issue
Block a user