jrs-react 1.0.28 → 1.0.29

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/build/index.es.js CHANGED
@@ -22943,7 +22943,7 @@ var axios$1 = axios;
22943
22943
  // import { po } from './JRUtil'
22944
22944
 
22945
22945
  const axiosSubmit = axios$1.create({
22946
- authorization: `Bearer ${localStorage.getItem("accessToken")}`,
22946
+ authorization: ``,
22947
22947
  timeout: 120000,
22948
22948
  maxBodyLength: 104857600 //100mb 104857600
22949
22949
  ,
@@ -22956,7 +22956,6 @@ class JRSubmit extends React.Component {
22956
22956
  return axiosSubmit;
22957
22957
  }
22958
22958
  render() {
22959
- this.submit();
22960
22959
  return /*#__PURE__*/React.createElement("div", null, "JRSubmit");
22961
22960
  }
22962
22961
  }
package/build/index.js CHANGED
@@ -22962,7 +22962,7 @@ var axios$1 = axios;
22962
22962
  // import { po } from './JRUtil'
22963
22963
 
22964
22964
  const axiosSubmit = axios$1.create({
22965
- authorization: `Bearer ${localStorage.getItem("accessToken")}`,
22965
+ authorization: ``,
22966
22966
  timeout: 120000,
22967
22967
  maxBodyLength: 104857600 //100mb 104857600
22968
22968
  ,
@@ -22975,7 +22975,6 @@ class JRSubmit extends React.Component {
22975
22975
  return axiosSubmit;
22976
22976
  }
22977
22977
  render() {
22978
- this.submit();
22979
22978
  return /*#__PURE__*/React.createElement("div", null, "JRSubmit");
22980
22979
  }
22981
22980
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jrs-react",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.es.js",
@@ -3,7 +3,7 @@ import axios from 'axios'
3
3
  // import { po } from './JRUtil'
4
4
 
5
5
  const axiosSubmit = axios.create({
6
- authorization: `Bearer ${localStorage.getItem("accessToken")}`
6
+ authorization: ``
7
7
  ,timeout: 120000
8
8
  ,maxBodyLength: 104857600 //100mb 104857600
9
9
  ,maxContentLength: 104857600 //100mb
@@ -16,7 +16,6 @@ export default class JRSubmit extends React.Component {
16
16
  return axiosSubmit
17
17
  }
18
18
  render(){
19
- const test=this.submit()
20
19
  return <div>JRSubmit</div>
21
20
  }
22
21
  }