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

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

@@ -42,7 +42,7 @@ module.exports = (data) => {
     let refStr;
     if (ref) {
       const r = columns.find((f) => f.title === ref);
-      refStr = `${r ? 'refPath' : 'ref'}: '${_.capitalize(ref)}'`;
+      refStr = `${r ? 'refPath' : 'ref'}: '${ref}'`;
       if (getProp) {
         const propList = getProp.split(';');
         let propStr = '[';