lrf 2 년 전
부모
커밋
75d19db57b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/public/table-template.js

+ 1 - 0
app/public/table-template.js

@@ -17,6 +17,7 @@ module.exports = (data) => {
   for (const p of pluginColumns) {
     const { title, type, required = false, remark, index, def, zh, ref, getProp } = p;
     const params = _.pick(p, ['zh', 'required', 'def']);
+    params.key = title;
     const r = columnType.find((cf) => cf.value === type);
     if (!r) continue;
     const { path } = r;