添加本地测试编译接口地址
This commit is contained in:
parent
c6a37e069e
commit
7c82894b0d
Binary file not shown.
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 2.4 KiB |
|
@ -3,7 +3,7 @@ import {Notify} from "zent"
|
|||
window.baseurl = 'https://marketapi.1688sup.com';
|
||||
|
||||
let baseurl;
|
||||
if (process.env.NODE_ENV == "test") { // 测试环境
|
||||
if (process.env.NODE_ENV == "test"||process.env.NODE_ENV == "development") { // 测试环境
|
||||
baseurl = "http://192.168.6.75"
|
||||
}
|
||||
if (process.env.NODE_ENV == "production") { // 生成环境
|
||||
|
|
Loading…
Reference in New Issue