Browse Source

接口地址调整

zhuth 8 years ago
parent
commit
520d4d4ccf

+ 2 - 0
kanban-client/README.md

@@ -60,6 +60,8 @@ columns[i].rowStyle---------------指定列数据列样式
 * 修改table列宽算法,按比例调整设置的列宽
 ##### 20171012
 * 解决模板内容为空报错问题
+##### 20171021
+* 接口地址调整
 
 #### 已知小bug
 * 多模板看板第一次进入需要多等待一个刷新时才会切换到下一个模板。

+ 1 - 1
kanban-client/app/component/factory.dev.js

@@ -82,7 +82,7 @@ class Factory extends React.Component {
         if (refresh.current) {
             if (refresh.current.enable) {
                 this.refreshThis = setInterval(function () {
-                    this.getModelConfig(this.props.code[0] + '?templateCode=' + codes[this.index]);
+                    this.getModelConfig(this.props.code[0] + '?relatedKanban=' + codes[this.index]);
                 }.bind(this), refresh.current.interval * 1000 || 10000)
             }
         }

+ 1 - 1
kanban-client/app/constants/url.dev.json

@@ -1,3 +1,3 @@
 {
-    "path": "http://localhost:8080/kanbanInstance/parseData/"
+    "path": "http://localhost:8080/panelInstance/parseData/"
 }

+ 1 - 1
kanban-client/app/constants/url.json

@@ -1,3 +1,3 @@
 {
-    "path": "kanbanInstance/parseData/"
+    "path": "panelInstance/parseData"
 }