巡检记录接口对接
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
let baseUrl = ''
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
baseUrl = 'http://192.168.0.239:8080' // 开发环境
|
||||
} else {
|
||||
baseUrl = 'http://192.168.0.239:8080' // 生产环境
|
||||
}
|
||||
import baseUrl from './BaseUrl.js'
|
||||
|
||||
export default function request(url, data = {}, method = 'GET') {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
||||
Reference in New Issue
Block a user