diff --git a/packages/i18n/translations/zh-CN.translation.yml b/packages/i18n/translations/zh-CN.translation.yml index b06ae99409..da736fd351 100644 --- a/packages/i18n/translations/zh-CN.translation.yml +++ b/packages/i18n/translations/zh-CN.translation.yml @@ -1010,7 +1010,7 @@ CustomLabels: objects_enable_instances: 显示审批单子表 objects_description: 描述 objects_amis_details: 详情 - objects_amis_field: 对象字段 + objects_amis_field: 字段与关系 objects_amis_list_view: 列表视图 objects_amis_action_button: 操作按钮 objects_amis_object_page: 对象页面 diff --git a/services/standard-object-database/main/default/objectTranslations/object_fields.zh-CN/object_fields.zh-CN.objectTranslation.yml b/services/standard-object-database/main/default/objectTranslations/object_fields.zh-CN/object_fields.zh-CN.objectTranslation.yml index 625e8f2504..8c1e2a6df2 100644 --- a/services/standard-object-database/main/default/objectTranslations/object_fields.zh-CN/object_fields.zh-CN.objectTranslation.yml +++ b/services/standard-object-database/main/default/objectTranslations/object_fields.zh-CN/object_fields.zh-CN.objectTranslation.yml @@ -16,7 +16,7 @@ fields: description: _name: label: 字段名 - help: + help: API 名称只能包含小写字母、数字,必须以字母开头,不能以下划线字符结尾或包含两个连续的下划线字符 description: name: label: API 名称 @@ -187,7 +187,7 @@ fields: label: 数据类型 help: 字段类型为公式时,必须填写此字段。 options: - - label: 复选框 + - label: 布尔 value: boolean - label: 数值 value: number @@ -368,7 +368,7 @@ fields: groups: external_data_source: 外部数据源 advanced: 高级 - ui: 界面布局 + ui: 界面 listviews: all: label: 所有 diff --git a/services/standard-object-database/main/default/objectTranslations/objects.zh-CN/objects.zh-CN.objectTranslation.yml b/services/standard-object-database/main/default/objectTranslations/objects.zh-CN/objects.zh-CN.objectTranslation.yml index b05173cfa4..d139ec8f35 100644 --- a/services/standard-object-database/main/default/objectTranslations/objects.zh-CN/objects.zh-CN.objectTranslation.yml +++ b/services/standard-object-database/main/default/objectTranslations/objects.zh-CN/objects.zh-CN.objectTranslation.yml @@ -7,11 +7,11 @@ fields: help: description: label: - label: 显示名 + label: 显示名称 help: description: name: - label: API 名称 + label: 对象名 help: API 名称只能包含小写字母、数字,必须以字母开头,不能以下划线字符结尾或包含两个连续的下划线字符 description: table_name: diff --git a/services/standard-object-database/main/default/server/objects.core.js b/services/standard-object-database/main/default/server/objects.core.js index 376f35fdef..fc510cd38d 100644 --- a/services/standard-object-database/main/default/server/objects.core.js +++ b/services/standard-object-database/main/default/server/objects.core.js @@ -385,7 +385,7 @@ function triggerReloadObject(objectName, type, value, event) const objectRecord = Creator.getCollection("objects").findOne({ name: objectName }) - if(objectRecord && objectRecord.is_system != true && objectName != "objects"){ + if(objectRecord && objectRecord.is_system != true && objectName != "objects" && objectName != "object_fields"){ Creator.getCollection("objects").update({name: objectName}, {$set: {reload_time: new Date()}}) }else{ Creator.getCollection("_object_reload_logs").insert({