Browse Source

【看板展示】【table字段调整】

zhuth 8 years ago
parent
commit
913e3cbfaa
1 changed files with 3 additions and 3 deletions
  1. 3 3
      kanban-client/app/component/converter.js

+ 3 - 3
kanban-client/app/component/converter.js

@@ -66,7 +66,7 @@ function formConfig(model) {
 
 
 function tableConfig(model) {
 function tableConfig(model) {
     let { type, config, layout } = model;
     let { type, config, layout } = model;
-    let { fontSize, title, cls, render, columns, data, pagesize, interval, headerRowsStyle, rowsStyle } = config;
+    let { fontSize, title, cls, render, columns, data, pagesize, interval, headerrowsstyle, rowsstyle } = config;
     return {
     return {
         type: 'table',
         type: 'table',
         config: {
         config: {
@@ -84,8 +84,8 @@ function tableConfig(model) {
                 v.key = i;
                 v.key = i;
                 return v;
                 return v;
             }),
             }),
-            headerRowsStyle: parseStyleStr(headerRowsStyle),
-            rowsStyle: parseStyleStr(rowsStyle),
+            headerRowsStyle: parseStyleStr(headerrowsstyle),
+            rowsStyle: parseStyleStr(rowsstyle),
         },
         },
         layout: getLayout(layout)
         layout: getLayout(layout)
     }
     }