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

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

@@ -24,7 +24,7 @@ module.exports = (data) => {
       const pluginStr = `const ${type}Plugin = require('${path}');\n`;
       if (pluginHead.indexOf(pluginStr) <= -1) pluginHead += pluginStr;
       pluginArea += `schema.plugin(${type}Plugin(${JSON.stringify(params)}));\n`;
-      configArr.push(title);
+      configArr.push(`'${title}'`);
     }
   }