Skip to content

Commit

Permalink
应用使用defaultsDeep而不是Object.assign混合属性,否则lookup字段的pickScehma属性无法被改写
Browse files Browse the repository at this point in the history
  • Loading branch information
yinlianghui committed Jan 7, 2024
1 parent b021bd4 commit e2fdb9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -957,8 +957,8 @@ export async function lookupToAmis(field, readonly, ctx){
if(typeof refLookupPage == 'string'){
refLookupPage = JSON.parse(refLookupPage);
}
// 先不放开此功能,amis picker组件有bug,无法正常识别deferApi属性,见:https://github.com/baidu/amis/issues/9349,待其修正后才能放开
// Object.assign(amisSchema, refLookupPage);
// amisSchema = _.defaultsDeep({}, refLookupPage, amisSchema);
}
return amisSchema;
}
Expand Down

0 comments on commit e2fdb9f

Please sign in to comment.