Skip to content

Commit

Permalink
审批王 amis 表单调用子表组件时启用自动生成行_id功能
Browse files Browse the repository at this point in the history
  • Loading branch information
yinlianghui committed Jan 21, 2024
1 parent c2ac35f commit 1bd49f0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const getSection = (fieldSchemaArray, sectionName, ctx = {}) => {
if(perField.type === "table"){
let tableAmis = {};
tableAmis.fieldPrefix = perField.name + "_";
tableAmis.autoGeneratePrimaryKeyValue = true;
if(perField.amis){
tableAmis = Object.assign({}, tableAmis, perField.amis);
}
Expand Down

0 comments on commit 1bd49f0

Please sign in to comment.