Skip to content

Commit

Permalink
自定义应用程序“新建”按钮丢了 #6449
Browse files Browse the repository at this point in the history
  • Loading branch information
Flyingliao committed Feb 19, 2024
1 parent 1c11b63 commit 95b4e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/standard-objects/base.client.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Steedos.StandardObjects = {
if (!permissions["allowCreate"]) return false;
}
// 在相关页,且主表对象enable_lock_detail为true,且主表记录已锁定(locked=true)时不显示子表新增按钮
const _isRelated = props._isRelated
const _isRelated = props?._isRelated;
if(_isRelated){
const _master = props._master
const { record: masterReocrd, object_name: masterObjectName } = _master
Expand Down

0 comments on commit 95b4e41

Please sign in to comment.