src/config/UtilVar.ts
@@ -6,7 +6,7 @@ } const UtilVar:UtilVarType = { baseUrl:"", baseUrl:"/api", code:401, //登陆过期 noContentCode:204, //请求成功但没有内容 ENC:false, @@ -15,11 +15,12 @@ const runtimeType:any = { production: () => { UtilVar.baseUrl = ''; }, //开发环境 development: () => { // UtilVar.baseUrl= `http://www.xihuanmantou.cn:19527` UtilVar.baseUrl = '/api'; }, hash:()=>{