diff --git a/package.json b/package.json index 5186591..bd1b8d5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hi-ui/component-kit", - "version": "1.0.0-rc.2", + "version": "1.0.0-rc.3", "main": "index.js", "module": "es/index.js", "file": [ diff --git a/src/data-filter/data-filter.js b/src/data-filter/data-filter.js index 9c6e1ac..a1bbe29 100644 --- a/src/data-filter/data-filter.js +++ b/src/data-filter/data-filter.js @@ -150,7 +150,8 @@ export default class DataFilter extends Component { params, url, onFetched, - fetchDatas + fetchDatas, + withCredentials = false } = props const { page @@ -166,6 +167,7 @@ export default class DataFilter extends Component { }) } else { axios.get(url, { + withCredentials, params: { page, ...params,