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.
22 lines
521 B
22 lines
521 B
/**
|
|
* Created by sunjiangang 2019/10/9
|
|
*/
|
|
// import Axios from 'axios'
|
|
// import Url from 'url.js'
|
|
const Axios = require('axios')
|
|
const URL = require('url')
|
|
|
|
let axios = Axios.create({
|
|
timeout:500
|
|
}
|
|
)
|
|
// function getModelData() {
|
|
// return new Promise((resolve,reject) => {
|
|
// axios.get(Url.getModelDataUrl).then( res =>{
|
|
// console.log("返回数据",res.data)
|
|
// resolve(res.data)
|
|
// }).catch( error =>{
|
|
// reject(error)
|
|
// })
|
|
// })
|
|
// }
|