lrf hace 2 años
padre
commit
75d19db57b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;