dlt-for-react 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,7 +6,7 @@ npm publish
6
6
 
7
7
  ## 前端dlt-for-react依赖包版本更新记录
8
8
 
9
- ##### 当前最新版本:1.0.7
9
+ ##### 当前最新版本:1.0.8
10
10
 
11
11
  ##### 安装依赖
12
12
  > cnpm install dlt-for-react --save
@@ -148,7 +148,7 @@ var KyUpload = function (_React$Component) {
148
148
  _initialiseProps.call(_this);
149
149
 
150
150
  var value = props.value || props.defaultValue;
151
- var urlTemp = props.xtglUrl || window.baseUrl;
151
+ var urlTemp = props.xtglUrl || window.xtglUrl || window.baseUrl;
152
152
  var xtglUrlTemp = urlTemp ? urlTemp : 'api/ky-core';
153
153
 
154
154
  _this.state = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dlt-for-react",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "dlt for react",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {