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;