lrf 2 年之前
父節點
當前提交
3a25de9205
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/public/table-template.js

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

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