Selaa lähdekoodia

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

zhuth 8 vuotta sitten
vanhempi
commit
913e3cbfaa
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  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) {
     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 {
         type: 'table',
         config: {
@@ -84,8 +84,8 @@ function tableConfig(model) {
                 v.key = i;
                 return v;
             }),
-            headerRowsStyle: parseStyleStr(headerRowsStyle),
-            rowsStyle: parseStyleStr(rowsStyle),
+            headerRowsStyle: parseStyleStr(headerrowsstyle),
+            rowsStyle: parseStyleStr(rowsstyle),
         },
         layout: getLayout(layout)
     }