electron launcher
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
521 B

4 years ago
  1. /**
  2. * Created by sunjiangang 2019/10/9
  3. */
  4. // import Axios from 'axios'
  5. // import Url from 'url.js'
  6. const Axios = require('axios')
  7. const URL = require('url')
  8. let axios = Axios.create({
  9. timeout:500
  10. }
  11. )
  12. // function getModelData() {
  13. // return new Promise((resolve,reject) => {
  14. // axios.get(Url.getModelDataUrl).then( res =>{
  15. // console.log("返回数据",res.data)
  16. // resolve(res.data)
  17. // }).catch( error =>{
  18. // reject(error)
  19. // })
  20. // })
  21. // }