移动端提前缓存城市数据,避免编辑地址时等待请求

This commit is contained in:
hejinfu1026
2022-01-14 09:50:15 +08:00
parent b68b1a09e4
commit fc87b51583
2 changed files with 21 additions and 18 deletions

View File

@@ -1,12 +1,12 @@
let domain = 'https://xxx.xxx'
let domain = 'xxx.xxx'
module.exports = {
// 请求域名 格式: https://您的域名
// #ifdef MP
HTTP_REQUEST_URL: domain,
// #endif
HTTP_ADMIN_URL:'https://xxx.xxx.xxx', //PC后台的API请求地址上传图片用
HTTP_ADMIN_URL:'xxx.xxx.xxx', //PC后台的API请求地址上传图片用
// #ifdef H5
//H5接口是浏览器地址
// HTTP_REQUEST_URL: window.location.protocol+"//"+window.location.host,