jrs-react 1.0.27 → 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 +3 -2
- package/build/index.js +3 -2
- package/package.json +1 -1
- package/src/components/JRSubmit.jsx +2 -3
package/build/index.es.js
CHANGED
|
@@ -22940,8 +22940,10 @@ axios.default = axios;
|
|
|
22940
22940
|
// this module should only have a default export
|
|
22941
22941
|
var axios$1 = axios;
|
|
22942
22942
|
|
|
22943
|
+
// import { po } from './JRUtil'
|
|
22944
|
+
|
|
22943
22945
|
const axiosSubmit = axios$1.create({
|
|
22944
|
-
authorization:
|
|
22946
|
+
authorization: ``,
|
|
22945
22947
|
timeout: 120000,
|
|
22946
22948
|
maxBodyLength: 104857600 //100mb 104857600
|
|
22947
22949
|
,
|
|
@@ -22954,7 +22956,6 @@ class JRSubmit extends React.Component {
|
|
|
22954
22956
|
return axiosSubmit;
|
|
22955
22957
|
}
|
|
22956
22958
|
render() {
|
|
22957
|
-
this.submit();
|
|
22958
22959
|
return /*#__PURE__*/React.createElement("div", null, "JRSubmit");
|
|
22959
22960
|
}
|
|
22960
22961
|
}
|
package/build/index.js
CHANGED
|
@@ -22959,8 +22959,10 @@ axios.default = axios;
|
|
|
22959
22959
|
// this module should only have a default export
|
|
22960
22960
|
var axios$1 = axios;
|
|
22961
22961
|
|
|
22962
|
+
// import { po } from './JRUtil'
|
|
22963
|
+
|
|
22962
22964
|
const axiosSubmit = axios$1.create({
|
|
22963
|
-
authorization:
|
|
22965
|
+
authorization: ``,
|
|
22964
22966
|
timeout: 120000,
|
|
22965
22967
|
maxBodyLength: 104857600 //100mb 104857600
|
|
22966
22968
|
,
|
|
@@ -22973,7 +22975,6 @@ class JRSubmit extends React.Component {
|
|
|
22973
22975
|
return axiosSubmit;
|
|
22974
22976
|
}
|
|
22975
22977
|
render() {
|
|
22976
|
-
this.submit();
|
|
22977
22978
|
return /*#__PURE__*/React.createElement("div", null, "JRSubmit");
|
|
22978
22979
|
}
|
|
22979
22980
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import axios from 'axios'
|
|
3
|
-
import { po } from './JRUtil'
|
|
3
|
+
// import { po } from './JRUtil'
|
|
4
4
|
|
|
5
5
|
const axiosSubmit = axios.create({
|
|
6
|
-
authorization:
|
|
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
|
}
|