|
|
@@ -59,8 +59,8 @@ class GenerateJs extends Component {
|
|
|
this._isMounted = true;
|
|
|
let _this = this;
|
|
|
let {schemaID} = this.state;
|
|
|
- axios.get(`${genJsUrl}?schema=${'schema_1544405636137_14283164'}`)
|
|
|
- // axios.get(`${genJsUrl}?schema=${schemaID}`)
|
|
|
+ // axios.get(`${genJsUrl}?schema=${'schema_1544405636137_14283164'}`)
|
|
|
+ axios.get(`${genJsUrl}?schema=${schemaID}`)
|
|
|
.then((res) => {
|
|
|
if(this._isMounted){
|
|
|
if (res.data !== '') {
|